From 8fbb85176b183fe72be568beb04f11bc472e1a5e Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 28 Jun 2019 11:58:31 +0200 Subject: Separating OptionMenu labels from values --- jfr_playoff/gui/frames/visual.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jfr_playoff/gui/frames/visual.py') diff --git a/jfr_playoff/gui/frames/visual.py b/jfr_playoff/gui/frames/visual.py index 28d1827..03f9a14 100644 --- a/jfr_playoff/gui/frames/visual.py +++ b/jfr_playoff/gui/frames/visual.py @@ -191,6 +191,9 @@ class MatchList(RefreshableOptionMenu): def getValues(self): return self.winfo_toplevel().getMatches() + def getVarValue(self, match): + return unicode(match.getMatchID()) + class BoxPositionFrame(RepeatableFrame): def renderContent(self): -- cgit v1.2.3