Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c465682

Browse files
authored
bpo-35591: IDLE Find Selection now works when selection not found (GH-11339)
1 parent 55698cc commit c465682

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/idlelib/searchbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def __init__(self, root, engine):
4242
icon (of dialog): ditto, use unclear if cannot minimize dialog.
4343
'''
4444
self.root = root
45+
self.bell = root.bell
4546
self.engine = engine
4647
self.top = None
4748

@@ -80,7 +81,6 @@ def create_widgets(self):
8081
top.wm_title(self.title)
8182
top.wm_iconname(self.icon)
8283
self.top = top
83-
self.bell = top.bell
8484

8585
self.row = 0
8686
self.top.grid_columnconfigure(0, pad=2, weight=0)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Find Selection now works when selection not found.

0 commit comments

Comments
 (0)