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: v2.7.4~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=167a96c0ea4c80fd63821d8d9903a2ccdaa5d9ff;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 ae440353f7bb..54c270df23c5 100644 --- a/Lib/idlelib/ReplaceDialog.py +++ b/Lib/idlelib/ReplaceDialog.py @@ -122,6 +122,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 45873092c376..6f4740c80bb0 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -21,6 +21,8 @@ Core and Builtins Library ------- +- Issue #17625: In IDLE, close the replace dialog after it is used. + - Issue #17531: Fix tests that thought group and user ids were always the int type. Also, always allow -1 as a valid group and user id.