diff options
author | emkael <emkael@tlen.pl> | 2019-06-21 18:20:40 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-21 18:20:40 +0200 |
commit | 07c5f4bb55f17d84319a3d424329a81637d2bafd (patch) | |
tree | c81d4671345afbd0dcb37f053b8aa3f584e2caeb /jfr_playoff/gui | |
parent | 293256838cfb8d672fe7d01ce3e1467f1f0ee46b (diff) |
Numeric values stored in IntVars
Diffstat (limited to 'jfr_playoff/gui')
-rw-r--r-- | jfr_playoff/gui/frames/match.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jfr_playoff/gui/frames/match.py b/jfr_playoff/gui/frames/match.py index 922e4cf..3eea9e7 100644 --- a/jfr_playoff/gui/frames/match.py +++ b/jfr_playoff/gui/frames/match.py @@ -68,7 +68,7 @@ class SwissSettingsFrame(RepeatableFrame): (ttk.Label( self, text='Ustaw od miejsca: ')).grid( row=4, column=0, sticky=tk.E) - self.setFrom = tk.StringVar() + self.setFrom = tk.IntVar() (tk.Spinbox( self, textvariable=self.setFrom, from_=1, to=999, width=5)).grid( @@ -78,7 +78,7 @@ class SwissSettingsFrame(RepeatableFrame): self, variable=self.setToEnabled, text='Ustaw do miejsca: ')).grid( row=5, column=0, sticky=tk.E) - self.setTo = tk.StringVar() + self.setTo = tk.IntVar() (tk.Spinbox( self, textvariable=self.setTo, from_=1, to=999, width=5)).grid( @@ -88,7 +88,7 @@ class SwissSettingsFrame(RepeatableFrame): self, variable=self.fetchFromEnabled, text='Pobierz od miejsca: ')).grid( row=6, column=0, sticky=tk.E) - self.fetchFrom = tk.StringVar() + self.fetchFrom = tk.IntVar() (tk.Spinbox( self, textvariable=self.fetchFrom, from_=1, to=999, width=5)).grid( |