summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-01-30 22:05:35 +0100
committeremkael <emkael@tlen.pl>2020-01-30 22:05:35 +0100
commitbbb81debfc1a2ab7433de2f80a5dd24514ffcead (patch)
tree2666c00198e92eac19b4a0f6dd8df565b926dbfe
parent384e5fd67b5c55d422ad70124657485c129aa6aa (diff)
Sorting out get/set for NotifyBoolVar
-rw-r--r--jfr_playoff/gui/variables.py6
1 files changed, 5 insertions, 1 deletions
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):