diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2018-12-28 07:41:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-28 07:41:35 (GMT) |
commit | c465682718f15cd3deb6b37db5fb607718ac64ed (patch) | |
tree | 5ed7e83a3bbfb4abcbf03260fc69513cb529eab9 /Lib/idlelib | |
parent | 55698cc39549523cafc13cc8dd47960d8f73a59f (diff) | |
download | cpython-c465682718f15cd3deb6b37db5fb607718ac64ed.zip cpython-c465682718f15cd3deb6b37db5fb607718ac64ed.tar.gz cpython-c465682718f15cd3deb6b37db5fb607718ac64ed.tar.bz2 |
bpo-35591: IDLE Find Selection now works when selection not found (GH-11339)
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/searchbase.py | 2 |
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) |