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 0f38908684
commit cf658c2833
2 changed files with 3 additions and 0 deletions

View File

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

View File

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