From bbb81debfc1a2ab7433de2f80a5dd24514ffcead Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 30 Jan 2020 22:05:35 +0100 Subject: Sorting out get/set for NotifyBoolVar --- jfr_playoff/gui/variables.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'jfr_playoff') diff --git a/jfr_playoff/gui/variables.py b/jfr_playoff/gui/variables.py index 80949aa..e76f503 100644 --- a/jfr_playoff/gui/variables.py +++ b/jfr_playoff/gui/variables.py @@ -35,7 +35,11 @@ class NotifyIntVar(NotifyVar, tk.IntVar): pass class NotifyBoolVar(NotifyVar, BoolVar): - pass + def get(self, *args, **kwargs): + return BoolVar.get(self, *args, **kwargs) + + def set(self, *args, **kwargs): + return BoolVar.set(self, *args, **kwargs) class NotifyNumericVar(NumericVar, NotifyVar): def __init__(self, *args, **kwargs): -- cgit v1.2.3