From: Benjamin Peterson Date: Thu, 4 Apr 2013 02:35:12 +0000 (-0400) Subject: close search and replace dialog after it is used (closes #17625) X-Git-Tag: v3.3.2~169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf658c283346497106952bba9bc5c49fbab22ac0;p=thirdparty%2FPython%2Fcpython.git close search and replace dialog after it is used (closes #17625) --- diff --git a/Lib/idlelib/ReplaceDialog.py b/Lib/idlelib/ReplaceDialog.py index e5a13713882a..e73f2c503965 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 4405779a758e..6014d2e14f0a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -24,6 +24,8 @@ Library - Issue #17572: Avoid chained exceptions while passing bad directives to time.strptime(). Initial patch by Claudiu Popa. +- Issue #17625: In IDLE, close the replace dialog after it is used. + - Issue #14254: IDLE now handles readline correctly across shell restarts. - Issue #17614: IDLE no longer raises exception when quickly closing a file.