close search and replace dialog after it is used (closes #17625)

This commit is contained in:
Benjamin Peterson 2013-04-03 22:35:12 -04:00
parent f3ad030a74
commit 167a96c0ea
2 changed files with 3 additions and 0 deletions

View File

@ -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():

View File

@ -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.