summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-11-10 10:10:17 +0100
committeremkael <emkael@tlen.pl>2019-11-10 10:10:17 +0100
commit6a7a3f7b9a0dc150892c55e13c1a81dccf3f0416 (patch)
treeb53ccb30655b08d1a74245acd9b829cdd6374b24
parentd4b498feef0e58df11d4ac4f0523cc51bb6d30de (diff)
NotifyNumericVar now properly notifies dirty state
-rw-r--r--jfr_playoff/gui/variables.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jfr_playoff/gui/variables.py b/jfr_playoff/gui/variables.py
index ff65207..9dcbff2 100644
--- a/jfr_playoff/gui/variables.py
+++ b/jfr_playoff/gui/variables.py
@@ -27,4 +27,6 @@ class NotifyIntVar(NotifyVar, tk.IntVar):
pass
class NotifyNumericVar(NumericVar, NotifyVar):
- pass
+ def __init__(self, *args, **kwargs):
+ NotifyVar.__init__(self, *args, **kwargs)
+ NumericVar.__init__(self, *args, **kwargs)