diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-04-03 22:35:12 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-04-03 22:35:12 -0400 |
commit | 7684fa8a38599fac51b838ccd62db7edadc7743d (patch) | |
tree | 39028936b7081ef212ac3f75b97d89470ee3dd27 /Lib/idlelib/ReplaceDialog.py | |
parent | ef0faa5c59cc5252f55cf347c26706337eeb9ba1 (diff) | |
download | cpython-git-7684fa8a38599fac51b838ccd62db7edadc7743d.tar.gz |
close search and replace dialog after it is used (closes #17625)
Diffstat (limited to 'Lib/idlelib/ReplaceDialog.py')
-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 e5a1371388..e73f2c5039 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(): |