mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-34120: fix IDLE freezing after closing dialogs (GH-8603)
Added missing .grab_release() calls to all places where we call .grab_set().
This commit is contained in:
parent
80b762f010
commit
10ea9409ce
6 changed files with 10 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue