aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib-python/3/idlelib/SearchDialog.py')
-rw-r--r--lib-python/3/idlelib/SearchDialog.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib-python/3/idlelib/SearchDialog.py b/lib-python/3/idlelib/SearchDialog.py
index 76c444c6c1..bf76c419ac 100644
--- a/lib-python/3/idlelib/SearchDialog.py
+++ b/lib-python/3/idlelib/SearchDialog.py
@@ -24,13 +24,12 @@ class SearchDialog(SearchDialogBase):
def create_widgets(self):
f = SearchDialogBase.create_widgets(self)
- self.make_button("Find", self.default_command, 1)
+ self.make_button("Find Next", self.default_command, 1)
def default_command(self, event=None):
if not self.engine.getprog():
return
- if self.find_again(self.text):
- self.close()
+ self.find_again(self.text)
def find_again(self, text):
if not self.engine.getpat():