From 738ea152da21bc15b711949a116e16a2183894b6 Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 16 Nov 2019 18:17:35 +0100 Subject: Focus on newly added phase tab --- jfr_playoff/gui/tabs.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jfr_playoff') diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py index b444ecd..2a8c889 100644 --- a/jfr_playoff/gui/tabs.py +++ b/jfr_playoff/gui/tabs.py @@ -253,8 +253,11 @@ class MatchesTab(PlayoffTab): self.phaseFrame.add(phase) self.phases[newPhase] = phase self._renameTabs() + self.phaseFrame.select(phase) self.winfo_toplevel().event_generate( '<>', when='tail') + self.winfo_toplevel().event_generate( + '<>', when='tail') return newPhase def removePhase(self, phase=None): -- cgit v1.2.3