]> granicus.if.org Git - python/commitdiff
#17511: Keep IDLE find dialog open after clicking "Find Next".
authorRoger Serwy <roger.serwy@gmail.com>
Tue, 11 Jun 2013 04:01:20 +0000 (23:01 -0500)
committerRoger Serwy <roger.serwy@gmail.com>
Tue, 11 Jun 2013 04:01:20 +0000 (23:01 -0500)
Original patch by Sarah K.

Lib/idlelib/SearchDialog.py
Misc/ACKS
Misc/NEWS

index 76c444c6c1461de2d2502b432d2754b5049bf75e..bf76c419ac331355bd6d3b79805aa22d5d114b0a 100644 (file)
@@ -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():
index 63ff25e5c6319a2133f29fe3c8a3ccc18c1dc102..e8aac41a4f57bf4e7b858ce2b1c8fd68c925ffc5 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -606,6 +606,7 @@ John Jorgensen
 Sijin Joseph
 Andreas Jung
 Tattoo Mabonzo K.
+Sarah K.
 Bohuslav Kabrda
 Bob Kahn
 Kurt B. Kaiser
index 00f1ac07fa31be9c43b39b7e83e2e4499999fd02..50937a99ae67c6bf0630eecdc52998a0b7fee8e8 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -81,6 +81,9 @@ Library
 IDLE
 ----
 
+- Issue #17511: Keep IDLE find dialog open after clicking "Find Next".
+  Original patch by Sarah K.
+
 - Issue #18055: Move IDLE off of imp and on to importlib.
 
 - Issue #15392: Create a unittest framework for IDLE.