summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/tabs.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-07-19 12:05:18 +0200
committeremkael <emkael@tlen.pl>2019-07-19 12:05:18 +0200
commit914c73d5aa2d87d55bcc10b3bf5cfd4d4f6a8f93 (patch)
tree55ce93985427ab85e77f399362ad38c8a1f51e4a /jfr_playoff/gui/tabs.py
parent1059281a8962dd7529318b529aeda02ca8544722 (diff)
"Handling" of some GUI errors that occur during file load/unload and component attach/detach
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r--jfr_playoff/gui/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py
index a12a993..8b66b25 100644
--- a/jfr_playoff/gui/tabs.py
+++ b/jfr_playoff/gui/tabs.py
@@ -282,7 +282,7 @@ class MatchesTab(PlayoffTab):
def setValues(self, config):
phases = config['phases'] if 'phases' in config else []
- for idx in self.phases:
+ for idx in self.phases.keys():
self.removePhase(idx)
for phase in phases:
newPhase = self.addPhase()