diff options
author | emkael <emkael@tlen.pl> | 2019-06-27 12:28:35 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-27 12:28:35 +0200 |
commit | 9d0176306e53934d3f6d1a2082ee82711d16d725 (patch) | |
tree | ff62d87f1d660d04504f2f5ab60e9e643eeffa45 /jfr_playoff/gui/tabs.py | |
parent | ad761be1a1bfed57ba1d91ce39819f0e49821240 (diff) |
Setting values for network settings tab
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r-- | jfr_playoff/gui/tabs.py | 9 |
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): |