diff options
author | emkael <emkael@tlen.pl> | 2019-06-28 01:33:24 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-28 01:33:24 +0200 |
commit | a46d3f05a9bc95932414ee8bc200e9d414d81487 (patch) | |
tree | 1ec39921d07c99af59035bcf872e08c853a9a00c /jfr_playoff/gui/frames/visual.py | |
parent | e9780645ffc171ebc5323efcc84d970a435c3e5c (diff) |
Remenbering last RefreshableOptionMenu value in a "sane" way
Diffstat (limited to 'jfr_playoff/gui/frames/visual.py')
-rw-r--r-- | jfr_playoff/gui/frames/visual.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/jfr_playoff/gui/frames/visual.py b/jfr_playoff/gui/frames/visual.py index 37cb90c..28d1827 100644 --- a/jfr_playoff/gui/frames/visual.py +++ b/jfr_playoff/gui/frames/visual.py @@ -178,7 +178,6 @@ class VisualSettingsFrame(GuiFrame): self.teamNamePrefix.set(values['team_boxes']['name_prefix']) - class MatchList(RefreshableOptionMenu): def __init__(self, *args, **kwargs): RefreshableOptionMenu.__init__(self, *args, **kwargs) @@ -192,9 +191,6 @@ class MatchList(RefreshableOptionMenu): def getValues(self): return self.winfo_toplevel().getMatches() - def cmpValue(self, match): - return match.id == getIntVal(self._variable, 0) - class BoxPositionFrame(RepeatableFrame): def renderContent(self): @@ -214,7 +210,6 @@ class BoxPositionFrame(RepeatableFrame): self, textvariable=self.horizontal, from_=-1, to=9999, width=5, justify=tk.RIGHT)).grid( row=0, column=4) - self.setValue([]) def setValue(self, value): |