summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/tabs.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-06-27 13:44:19 +0200
committeremkael <emkael@tlen.pl>2019-06-27 13:44:19 +0200
commit9a7d11962c4d55a330af6e0aaf26f83df18c4ff5 (patch)
treed5792fa718c0e3855d12b95fe2d016dd7de47541 /jfr_playoff/gui/tabs.py
parent18862958e3f6a99e25aa7db836604c9b9425ea1b (diff)
Setting values for swiss settings tab
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r--jfr_playoff/gui/tabs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py
index babb043..4c60d3a 100644
--- a/jfr_playoff/gui/tabs.py
+++ b/jfr_playoff/gui/tabs.py
@@ -270,6 +270,9 @@ class SwissesTab(PlayoffTab):
self.swisses = SwissesFrame(container, vertical=True)
self.swisses.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
+ def setValues(self, config):
+ self.swisses.setValues(config['swiss'] if 'swiss' in config else [])
+
class NetworkTab(PlayoffTab):
@property
def title(self):