diff options
author | emkael <emkael@tlen.pl> | 2019-06-07 18:09:49 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-07 18:10:22 +0200 |
commit | dd422a26175030d66da927f5d97f35012764d56c (patch) | |
tree | 8b7e7e0cd1a75a9fee86fea1857bec3322399ce1 /jfr_playoff/gui/frames/team.py | |
parent | 16d33c6b940c9ee735b1ed937be1818a2782a9c2 (diff) |
Making dialogs modal
Diffstat (limited to 'jfr_playoff/gui/frames/team.py')
-rw-r--r-- | jfr_playoff/gui/frames/team.py | 2 |
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, |