Commit c4656827 authored by Terry Jan Reedy's avatar Terry Jan Reedy Committed by GitHub

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

parent 55698cc3
...@@ -42,6 +42,7 @@ class SearchDialogBase: ...@@ -42,6 +42,7 @@ class SearchDialogBase:
icon (of dialog): ditto, use unclear if cannot minimize dialog. icon (of dialog): ditto, use unclear if cannot minimize dialog.
''' '''
self.root = root self.root = root
self.bell = root.bell
self.engine = engine self.engine = engine
self.top = None self.top = None
...@@ -80,7 +81,6 @@ class SearchDialogBase: ...@@ -80,7 +81,6 @@ class SearchDialogBase:
top.wm_title(self.title) top.wm_title(self.title)
top.wm_iconname(self.icon) top.wm_iconname(self.icon)
self.top = top self.top = top
self.bell = top.bell
self.row = 0 self.row = 0
self.top.grid_columnconfigure(0, pad=2, weight=0) self.top.grid_columnconfigure(0, pad=2, weight=0)
......
Find Selection now works when selection not found.
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