summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorRoger Serwy <roger.serwy@gmail.com>2013-06-11 04:02:56 (GMT)
committerRoger Serwy <roger.serwy@gmail.com>2013-06-11 04:02:56 (GMT)
commit30b4131b41170b062e395c7b3acc161631ae3297 (patch)
tree898c35ce64b8726d56734a55b256fe295738d5c0 /Lib/idlelib
parent3164f5d56570d6d6eef9dfde5e85347805eb910a (diff)
parent391f469681295129fddc04a45489224ae1614863 (diff)
downloadcpython-30b4131b41170b062e395c7b3acc161631ae3297.zip
cpython-30b4131b41170b062e395c7b3acc161631ae3297.tar.gz
cpython-30b4131b41170b062e395c7b3acc161631ae3297.tar.bz2
#17511: merge with 3.3.
Diffstat (limited to 'Lib/idlelib')
-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():