summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/ReplaceDialog.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/ReplaceDialog.py b/Lib/idlelib/ReplaceDialog.py
index e5a1371..e73f2c5 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():