diff options
author | Tal Einat <taleinat+github@gmail.com> | 2018-08-02 09:18:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 09:18:29 +0300 |
commit | 10ea9409ceb5da83cb380b610750551e26561044 (patch) | |
tree | 202ccd012209ce6acb90928fa579a169eb4bd3ea /Lib/idlelib/configdialog.py | |
parent | 80b762f010097ab8137782e5fbdc89c5c620ed4e (diff) | |
download | cpython-git-10ea9409ceb5da83cb380b610750551e26561044.tar.gz |
bpo-34120: fix IDLE freezing after closing dialogs (GH-8603)
Added missing .grab_release() calls to all places where we call .grab_set().
Diffstat (limited to 'Lib/idlelib/configdialog.py')
-rw-r--r-- | Lib/idlelib/configdialog.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index c783238094..e682ec0da3 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -191,6 +191,7 @@ class ConfigDialog(Toplevel): def destroy(self): global font_sample_text font_sample_text = self.fontpage.font_sample.get('1.0', 'end') + self.grab_release() super().destroy() def help(self): |