Add workaround comment
This commit is contained in:
parent
90d7ab84b0
commit
d830dd69a4
@ -99,6 +99,7 @@ def raise_window(window, alert=True):
|
|||||||
window.setWindowState(window.windowState() & ~Qt.WindowMinimized)
|
window.setWindowState(window.windowState() & ~Qt.WindowMinimized)
|
||||||
window.setWindowState(window.windowState() | Qt.WindowActive)
|
window.setWindowState(window.windowState() | Qt.WindowActive)
|
||||||
window.raise_()
|
window.raise_()
|
||||||
|
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-69568
|
||||||
QCoreApplication.processEvents(
|
QCoreApplication.processEvents(
|
||||||
QEventLoop.ExcludeUserInputEvents | QEventLoop.ExcludeSocketNotifiers)
|
QEventLoop.ExcludeUserInputEvents | QEventLoop.ExcludeSocketNotifiers)
|
||||||
window.activateWindow()
|
window.activateWindow()
|
||||||
|
Loading…
Reference in New Issue
Block a user