summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/tabs.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-06-27 12:28:35 +0200
committeremkael <emkael@tlen.pl>2019-06-27 12:28:35 +0200
commit9d0176306e53934d3f6d1a2082ee82711d16d725 (patch)
treeff62d87f1d660d04504f2f5ab60e9e643eeffa45 /jfr_playoff/gui/tabs.py
parentad761be1a1bfed57ba1d91ce39819f0e49821240 (diff)
Setting values for network settings tab
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r--jfr_playoff/gui/tabs.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py
index e9685f9..babb043 100644
--- a/jfr_playoff/gui/tabs.py
+++ b/jfr_playoff/gui/tabs.py
@@ -319,6 +319,15 @@ class NetworkTab(PlayoffTab):
self.winfo_toplevel().bind(
'<<DBSettingsChanged>>', self._onDBSettingsChange, add='+')
+ def setValues(self, config):
+ self.mysqlFrame.setValues(
+ config['database'] if 'database' in config else {})
+ self.goniecFrame.setValues(
+ config['goniec'] if 'goniec' in config else {})
+ self.remoteFrame.setValues(
+ config['remotes'] if 'remotes' in config else [])
+
+
class VisualTab(PlayoffTab):
@property
def title(self):