diff options
Diffstat (limited to 'Lib/idlelib/query.py')
-rw-r--r-- | Lib/idlelib/query.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/idlelib/query.py b/Lib/idlelib/query.py index 15add6d127..c2628cceb7 100644 --- a/Lib/idlelib/query.py +++ b/Lib/idlelib/query.py @@ -143,6 +143,10 @@ class Query(Toplevel): self.result = None self.destroy() + def destroy(self): + self.grab_release() + super().destroy() + class SectionName(Query): "Get a name for a config file section name." |