66ec4f0599
Before this, we always resized the completion when the mainwindow was resized. If the statusbar is hidden during the resize (ui -> hide-statusbar is true), we got an invalid calculated QRect for the completion, causing the update to be not applied at all - so the completion showed up incorrectly. With this change, another resize is done when the completion is shown - at this point it's certain the statusbar is visible. Also we only update it while it's shown - it doesn't make sense to always adjust its size when it's hidden anyways. |
||
---|---|---|
.. | ||
models | ||
__init__.py | ||
completer.py | ||
completiondelegate.py | ||
completionwidget.py |