summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/frames/match.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/gui/frames/match.py')
-rw-r--r--jfr_playoff/gui/frames/match.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/jfr_playoff/gui/frames/match.py b/jfr_playoff/gui/frames/match.py
index c91119d..7d0b923 100644
--- a/jfr_playoff/gui/frames/match.py
+++ b/jfr_playoff/gui/frames/match.py
@@ -12,7 +12,8 @@ from ..frames import SelectionFrame, SelectionButton, RefreshableOptionMenu
from ..frames.team import DBSelectionField, TeamSelectionFrame
from ..frames.team import TeamSelectionButton
from ..frames.visual import PositionsSelectionFrame
-from ..variables import NotifyStringVar, NotifyIntVar, NotifyNumericVar
+from ..variables import NotifyStringVar, NotifyIntVar
+from ..variables import NotifyNumericVar, NotifyBoolVar
class SwissSettingsFrame(RepeatableFrame):
SOURCE_LINK = 0
@@ -51,9 +52,9 @@ class SwissSettingsFrame(RepeatableFrame):
self.fetchDB = NotifyStringVar()
self.fetchLink = NotifyStringVar()
self.setFrom = NotifyNumericVar()
- self.setToEnabled = NotifyIntVar()
+ self.setToEnabled = NotifyBoolVar()
self.setTo = NotifyNumericVar()
- self.fetchFromEnabled = NotifyIntVar()
+ self.fetchFromEnabled = NotifyBoolVar()
self.fetchFrom = NotifyNumericVar()
self.linkLabel = NotifyStringVar()
self.linkRelPath = NotifyStringVar()
@@ -304,7 +305,7 @@ class BracketMatchSettingsFrame(GuiFrame):
self.source = NotifyIntVar()
self.source.trace('w', self._enablePanels)
self.source.trace('w', self._configChangeNotify)
- self.selected = NotifyIntVar()
+ self.selected = NotifyBoolVar()
self.selected.trace('w', self._enablePanels)
self.selectedIndex = NotifyStringVar()
self.positions = []
@@ -487,7 +488,7 @@ class MatchSettingsFrame(RepeatableFrame):
self.scoreRound = NotifyNumericVar()
self.scoreTable = NotifyNumericVar()
self.scoreCustom = [NotifyStringVar(), NotifyStringVar()]
- self.scoreNotFinished = NotifyIntVar()
+ self.scoreNotFinished = NotifyBoolVar()
self.scoreNotFinished.trace('w', self._enablePanels)
self.scoreBoards = NotifyNumericVar()