summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/SearchDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/SearchDialog.py')
-rw-r--r--Lib/idlelib/SearchDialog.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/idlelib/SearchDialog.py b/Lib/idlelib/SearchDialog.py
index 76c444c..bf76c41 100644
--- a/Lib/idlelib/SearchDialog.py
+++ b/Lib/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():