diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-04-04 02:35:12 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-04-04 02:35:12 (GMT) |
commit | 38546ee51cadc924bb4a8f703d1891adef3c6829 (patch) | |
tree | 8c07cedc47fe4a41395ae0ecea03dfd18d1a409f /Lib | |
parent | f4e68b1816cc1961398647732c880ef8736a9938 (diff) | |
download | cpython-38546ee51cadc924bb4a8f703d1891adef3c6829.zip cpython-38546ee51cadc924bb4a8f703d1891adef3c6829.tar.gz cpython-38546ee51cadc924bb4a8f703d1891adef3c6829.tar.bz2 |
close search and replace dialog after it is used (closes #17625)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/ReplaceDialog.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/ReplaceDialog.py b/Lib/idlelib/ReplaceDialog.py index e5a1371..e73f2c5 100644 --- a/Lib/idlelib/ReplaceDialog.py +++ b/Lib/idlelib/ReplaceDialog.py @@ -123,6 +123,7 @@ class ReplaceDialog(SearchDialogBase): text.undo_block_stop() if first and last: self.show_hit(first, last) + self.close() def do_find(self, ok=0): if not self.engine.getprog(): |