diff options
author | Roger Serwy <roger.serwy@gmail.com> | 2013-06-11 04:01:20 (GMT) |
---|---|---|
committer | Roger Serwy <roger.serwy@gmail.com> | 2013-06-11 04:01:20 (GMT) |
commit | 391f469681295129fddc04a45489224ae1614863 (patch) | |
tree | 5ffa28ab84ff99fc4f701fb27cd530247f0651e9 | |
parent | 7e303731262b9bd7c468c943c9d8f5359be76e4b (diff) | |
download | cpython-391f469681295129fddc04a45489224ae1614863.zip cpython-391f469681295129fddc04a45489224ae1614863.tar.gz cpython-391f469681295129fddc04a45489224ae1614863.tar.bz2 |
#17511: Keep IDLE find dialog open after clicking "Find Next".
Original patch by Sarah K.
-rw-r--r-- | Lib/idlelib/SearchDialog.py | 5 | ||||
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
3 files changed, 6 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(): @@ -606,6 +606,7 @@ John Jorgensen Sijin Joseph Andreas Jung Tattoo Mabonzo K. +Sarah K. Bohuslav Kabrda Bob Kahn Kurt B. Kaiser @@ -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. |