summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/frames/team.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/gui/frames/team.py')
-rw-r--r--jfr_playoff/gui/frames/team.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/jfr_playoff/gui/frames/team.py b/jfr_playoff/gui/frames/team.py
index 17636da..510d021 100644
--- a/jfr_playoff/gui/frames/team.py
+++ b/jfr_playoff/gui/frames/team.py
@@ -123,6 +123,8 @@ class TeamSelectionButton(ttk.Button):
else:
dialog = tk.Toplevel(self)
dialog.title('Wybór teamów')
+ dialog.grab_set()
+ dialog.focus_force()
selectionFrame = self.dialogclass(
dialog, title=self.prompt,
teams=teams,