[Python-checkins] cpython (3.2): close search and replace dialog after it is used (closes #17625)

georg.brandl python-checkins at python.org
Sat Apr 6 16:44:18 CEST 2013


http://hg.python.org/cpython/rev/13e5664c5d19
changeset: 83132:13e5664c5d19
branch: 3.2
user: Benjamin Peterson <benjamin at python.org>
date: Wed Apr 03 22:35:12 2013 -0400
summary:
 close search and replace dialog after it is used (closes #17625)
files:
 Lib/idlelib/ReplaceDialog.py | 1 +
 Misc/NEWS | 11 +++++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Lib/idlelib/ReplaceDialog.py b/Lib/idlelib/ReplaceDialog.py
--- a/Lib/idlelib/ReplaceDialog.py
+++ b/Lib/idlelib/ReplaceDialog.py
@@ -123,6 +123,7 @@
 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
--- 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?
 ===============================================
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /