mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
close search and replace dialog after it is used (closes #17625)
This commit is contained in:
parent
0f38908684
commit
cf658c2833
2 changed files with 3 additions and 0 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue