mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
bpo-35591: IDLE Find Selection now works when selection not found (GH-11339)
This commit is contained in:
parent
55698cc395
commit
c465682718
2 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||||
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)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Find Selection now works when selection not found.
|
Loading…
Add table
Add a link
Reference in a new issue