summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/frames/team.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/gui/frames/team.py')
-rw-r--r--jfr_playoff/gui/frames/team.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/jfr_playoff/gui/frames/team.py b/jfr_playoff/gui/frames/team.py
index 28ffeba..d389206 100644
--- a/jfr_playoff/gui/frames/team.py
+++ b/jfr_playoff/gui/frames/team.py
@@ -283,8 +283,12 @@ class TeamList(RefreshableOptionMenu):
'<<TeamListChanged>>', self.refreshOptions, add='+')
self.configure(width=10)
- def getOptions(self):
- return [team[0] for team in self.winfo_toplevel().getTeams()]
+ def getLabel(self, team):
+ return team[0]
+
+ def getValues(self):
+ return self.winfo_toplevel().getTeams()
+
class TeamAliasRow(RepeatableFrame):
def renderContent(self):