diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-10 00:46:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 00:46:14 (GMT) |
commit | 1b0e88dde146eb290735f4b486d4a67074132100 (patch) | |
tree | b3a36dfd56265fac2a2c8860eb38be6bd260e03c /Lib/idlelib/autocomplete_w.py | |
parent | 4e0e452dd06a0f3565d94075188d1fd1f60d4d65 (diff) | |
download | cpython-1b0e88dde146eb290735f4b486d4a67074132100.zip cpython-1b0e88dde146eb290735f4b486d4a67074132100.tar.gz cpython-1b0e88dde146eb290735f4b486d4a67074132100.tar.bz2 |
bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)
This has happened on some versions of Ubuntu.
(cherry picked from commit bbc4162bafe018f07bab0b624b37974cc33daad9)
Co-authored-by: JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com>
Diffstat (limited to 'Lib/idlelib/autocomplete_w.py')
-rw-r--r-- | Lib/idlelib/autocomplete_w.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py index f20b633..0643c09 100644 --- a/Lib/idlelib/autocomplete_w.py +++ b/Lib/idlelib/autocomplete_w.py @@ -257,6 +257,7 @@ class AutoCompleteWindow: # place acw above current line new_y -= acw_height acw.wm_geometry("+%d+%d" % (new_x, new_y)) + acw.update_idletasks() if platform.system().startswith('Windows'): # See issue 15786. When on Windows platform, Tk will misbehave |