diff options
author | emkael <emkael@tlen.pl> | 2019-05-29 23:50:29 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-05-29 23:50:29 +0200 |
commit | 550e9c61dd0520507305ac35270561eee4db029b (patch) | |
tree | bf6f4f965c49736d20c720e3e48a6ea4a23c18fa /jfr_playoff/gui/tabs.py | |
parent | 49837a5ba854c58dcbce2f2150528e2eca288d56 (diff) |
Fully refreshing team list
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r-- | jfr_playoff/gui/tabs.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py index 0a8e100..64cc014 100644 --- a/jfr_playoff/gui/tabs.py +++ b/jfr_playoff/gui/tabs.py @@ -116,6 +116,13 @@ class TeamsTab(PlayoffTab): container.rowconfigure(0, weight=2) container.rowconfigure(2, weight=1) + self.winfo_toplevel().bind( + '<<TeamSettingsChanged>>', self.onTeamSettingsChange, add='+') + + def onTeamSettingsChange(self, event): + self.winfo_toplevel().event_generate( + '<<TeamListChanged>>', when='tail') + def getTeams(self): config = self.collectConfig() dbConfig = self.winfo_toplevel().getDbConfig() |