bpo-35591: IDLE Find Selection now works when selection not found (GH-11339)

This commit is contained in:
Terry Jan Reedy 2018-12-28 02:41:35 -05:00 committed by GitHub
parent 55698cc395
commit c465682718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ class SearchDialogBase:
icon (of dialog): ditto, use unclear if cannot minimize dialog.
'''
self.root = root
self.bell = root.bell
self.engine = engine
self.top = None
@ -80,7 +81,6 @@ class SearchDialogBase:
top.wm_title(self.title)
top.wm_iconname(self.icon)
self.top = top
self.bell = top.bell
self.row = 0
self.top.grid_columnconfigure(0, pad=2, weight=0)

View File

@ -0,0 +1 @@
Find Selection now works when selection not found.