summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/searchbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/searchbase.py b/Lib/idlelib/searchbase.py
index 9b03ff6..348db66 100644
--- a/Lib/idlelib/searchbase.py
+++ b/Lib/idlelib/searchbase.py
@@ -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)