Kaydet (Commit) fff3f483 authored tarafından Roger Serwy's avatar Roger Serwy

#17511: Keep IDLE find dialog open after clicking "Find Next".

Original patch by Sarah K.
üst 045e4579
......@@ -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():
......
......@@ -502,6 +502,7 @@ Jens B. Jorgensen
Sijin Joseph
Andreas Jung
Tattoo Mabonzo K.
Sarah K.
Bohuslav Kabrda
Bob Kahn
Kurt B. Kaiser
......
......@@ -50,6 +50,9 @@ Build
IDLE
----
- Issue #17511: Keep IDLE find dialog open after clicking "Find Next".
Original patch by Sarah K.
- Issue #15392: Create a unittest framework for IDLE.
Preliminary patch by Rajagopalasarma Jayakrishnan
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment