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)
commit7684fa8a38599fac51b838ccd62db7edadc7743d (patch)
tree39028936b7081ef212ac3f75b97d89470ee3dd27
parentef0faa5c59cc5252f55cf347c26706337eeb9ba1 (diff)
downloadcpython-7684fa8a38599fac51b838ccd62db7edadc7743d.zip
cpython-7684fa8a38599fac51b838ccd62db7edadc7743d.tar.gz
cpython-7684fa8a38599fac51b838ccd62db7edadc7743d.tar.bz2
close search and replace dialog after it is used (closes #17625)
-rw-r--r--Lib/idlelib/ReplaceDialog.py1
-rw-r--r--Misc/NEWS11
2 files changed, 12 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 9775a8a..cfa8062 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2,6 +2,17 @@
Python News
+++++++++++
+What's New in Python 3.2.4?
+===========================
+
+*Release date: XX-Apr-2013*
+
+Library
+-------
+
+- Issue #17625: In IDLE, close the replace dialog after it is used.
+
+
What's New in Python 3.2.4 release candidate 1?
===============================================