diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-26 20:03:57 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-26 20:03:57 -0400 |
commit | d2134c71a12e8deac9ba6b4f4ffe4d271d49cabe (patch) | |
tree | a3422dd53b1b2e1b3496723cdbd8a6942a38157e /Lib/idlelib/AutoCompleteWindow.py | |
parent | 00e4ce3a36eaf22e14dc6915ab482e7605ce1b72 (diff) | |
download | cpython-git-d2134c71a12e8deac9ba6b4f4ffe4d271d49cabe.tar.gz |
Issue #24570: Idle: make calltip and completion boxes appear on Macs
affected by a tk regression. Initial patch by Mark Roseman.
Diffstat (limited to 'Lib/idlelib/AutoCompleteWindow.py')
-rw-r--r-- | Lib/idlelib/AutoCompleteWindow.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/AutoCompleteWindow.py b/Lib/idlelib/AutoCompleteWindow.py index f666ea628b..2ee6878396 100644 --- a/Lib/idlelib/AutoCompleteWindow.py +++ b/Lib/idlelib/AutoCompleteWindow.py @@ -192,6 +192,7 @@ class AutoCompleteWindow: scrollbar.config(command=listbox.yview) scrollbar.pack(side=RIGHT, fill=Y) listbox.pack(side=LEFT, fill=BOTH, expand=True) + acw.lift() # work around bug in Tk 8.5.18+ (issue #24570) # Initialize the listbox selection self.listbox.select_set(self._binary_search(self.start)) |