mirror of https://github.com/python/cpython.git
bpo-35591: IDLE Find Selection now works when selection not found (GH-11339)
This commit is contained in:
parent
55698cc395
commit
c465682718
|
@ -42,6 +42,7 @@ def __init__(self, root, engine):
|
||||||
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 @@ def create_widgets(self):
|
||||||
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…
Reference in New Issue