]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
close search and replace dialog after it is used (closes #17625)
authorBenjamin Peterson <benjamin@python.org>
Thu, 4 Apr 2013 02:35:12 +0000 (22:35 -0400)
committerBenjamin Peterson <benjamin@python.org>
Thu, 4 Apr 2013 02:35:12 +0000 (22:35 -0400)
Lib/idlelib/ReplaceDialog.py
Misc/NEWS

index e5a13713882a5957e800abd38f53ff36f7ec0ffa..e73f2c50396505b91301d337e620d781034051a6 100644 (file)
@@ -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():
index b0ea32dcab9273c687356ad5cedb1be675543a5b..59308583949af976edf627590bcf6fc7efca0c52 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ Build
 
 - Issue #17550: Fix the --enable-profiling configure switch.
 
+Library
+-------
+
+- Issue #17625: In IDLE, close the replace dialog after it is used.
+
 
 What's New in Python 3.3.1 release candidate 1?
 ===============================================