summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-04-04 02:35:12 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-04-04 02:35:12 (GMT)
commit38546ee51cadc924bb4a8f703d1891adef3c6829 (patch)
tree8c07cedc47fe4a41395ae0ecea03dfd18d1a409f
parentf4e68b1816cc1961398647732c880ef8736a9938 (diff)
downloadcpython-38546ee51cadc924bb4a8f703d1891adef3c6829.zip
cpython-38546ee51cadc924bb4a8f703d1891adef3c6829.tar.gz
cpython-38546ee51cadc924bb4a8f703d1891adef3c6829.tar.bz2
close search and replace dialog after it is used (closes #17625)
-rw-r--r--Lib/idlelib/ReplaceDialog.py1
-rw-r--r--Misc/NEWS5
2 files changed, 6 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():
diff --git a/Misc/NEWS b/Misc/NEWS
index b0ea32d..5930858 100644
--- 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?
===============================================