From 38546ee51cadc924bb4a8f703d1891adef3c6829 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 3 Apr 2013 22:35:12 -0400 Subject: close search and replace dialog after it is used (closes #17625) --- Lib/idlelib/ReplaceDialog.py | 1 + Misc/NEWS | 5 +++++ 2 files changed, 6 insertions(+) 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? =============================================== -- cgit v0.12