summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/frames/network.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-11-16 14:45:37 +0100
committeremkael <emkael@tlen.pl>2019-11-16 14:45:37 +0100
commit2f2d4788d7f501e76f3b86bec0ad732dc2387433 (patch)
treec01f5e20a9323cf229fe067547c356389765dc3b /jfr_playoff/gui/frames/network.py
parent10cab28b7e5280066cd6b4442d0d3ded11e812e6 (diff)
Fixing checkbox behaviour/value storage for boolean variables
Diffstat (limited to 'jfr_playoff/gui/frames/network.py')
-rw-r--r--jfr_playoff/gui/frames/network.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jfr_playoff/gui/frames/network.py b/jfr_playoff/gui/frames/network.py
index 90c21d1..fb27434 100644
--- a/jfr_playoff/gui/frames/network.py
+++ b/jfr_playoff/gui/frames/network.py
@@ -10,7 +10,7 @@ import tkMessageBox as tkmb
from ...db import PlayoffDB
from ..frames import RepeatableEntry, WidgetRepeater, NumericSpinbox
from ..frames import GuiFrame, ScrollableFrame
-from ..variables import NotifyStringVar, NotifyIntVar, NotifyNumericVar
+from ..variables import NotifyStringVar, NotifyNumericVar, NotifyBoolVar
def network_test(connFunction, testLabel):
try:
@@ -128,7 +128,7 @@ class GoniecConfigurationFrame(GuiFrame):
tkmb.showerror('Błąd połączenia z Gońcem', self.testError)
def renderContent(self):
- self.enable = NotifyIntVar()
+ self.enable = NotifyBoolVar()
self.enable.trace('w', self._enableWidgets)
self.host = NotifyStringVar()
self.port = NotifyNumericVar()