summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r--jfr_playoff/gui/tabs.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py
index 3bace44..e72b3c3 100644
--- a/jfr_playoff/gui/tabs.py
+++ b/jfr_playoff/gui/tabs.py
@@ -164,6 +164,14 @@ class MatchesTab(PlayoffTab):
def title(self):
return 'Mecze'
+ def renderContent(self, container):
+ self.phase = MatchPhaseFrame(container, vertical=True)
+ self.phase.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
+
+ def getMatches(self):
+ return [w for w in self.phase.matches.widgets
+ if isinstance(w, MatchSettingsFrame)]
+
class SwissesTab(PlayoffTab):
@property
def title(self):