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 | cf658c283346497106952bba9bc5c49fbab22ac0 (patch) | |
tree | 9fe97657f303fcd0a934ccc9126984aee67c1bed | |
parent | 0f38908684505905fd0890f4effbe6f683b39954 (diff) | |
download | cpython-cf658c283346497106952bba9bc5c49fbab22ac0.zip cpython-cf658c283346497106952bba9bc5c49fbab22ac0.tar.gz cpython-cf658c283346497106952bba9bc5c49fbab22ac0.tar.bz2 |
close search and replace dialog after it is used (closes #17625)
-rw-r--r-- | Lib/idlelib/ReplaceDialog.py | 1 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 3 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(): @@ -24,6 +24,8 @@ Library - Issue #17572: Avoid chained exceptions while passing bad directives to time.strptime(). Initial patch by Claudiu Popa. +- Issue #17625: In IDLE, close the replace dialog after it is used. + - Issue #14254: IDLE now handles readline correctly across shell restarts. - Issue #17614: IDLE no longer raises exception when quickly closing a file. |