summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/frames/match.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-12-27 21:03:18 +0100
committeremkael <emkael@tlen.pl>2019-12-27 21:03:18 +0100
commita70a576168c6461aaa89df52c9c5321e7598f0cb (patch)
treef072bbee940927bbab8aaaedc0427f5fd9486762 /jfr_playoff/gui/frames/match.py
parentc0f4f1210b9686fb9e79935673ca1b8a4e9bf7c8 (diff)
Always providing phase title from GUI, even when empty
Fixes #39
Diffstat (limited to 'jfr_playoff/gui/frames/match.py')
-rw-r--r--jfr_playoff/gui/frames/match.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/jfr_playoff/gui/frames/match.py b/jfr_playoff/gui/frames/match.py
index 2cf88bf..0dfd2aa 100644
--- a/jfr_playoff/gui/frames/match.py
+++ b/jfr_playoff/gui/frames/match.py
@@ -835,8 +835,7 @@ class MatchPhaseFrame(ScrollableFrame):
def getConfig(self):
config = OrderedDict()
- if self.name.get():
- config['title'] = self.name.get()
+ config['title'] = self.name.get() or ''
if self.link.get():
config['link'] = self.link.get()
values = self.matches.getValue()