Default raise_windows() alert param to True to preserve existing
behavior
This commit is contained in:
parent
9cb25e0c76
commit
53575aaeed
@ -94,7 +94,7 @@ def get_window(via_ipc, force_window=False, force_tab=False,
|
|||||||
return window.win_id
|
return window.win_id
|
||||||
|
|
||||||
|
|
||||||
def raise_window(window, alert=False):
|
def raise_window(window, alert=True):
|
||||||
"""Raise the given MainWindow object."""
|
"""Raise the given MainWindow object."""
|
||||||
window.setWindowState(window.windowState() & ~Qt.WindowMinimized)
|
window.setWindowState(window.windowState() & ~Qt.WindowMinimized)
|
||||||
window.setWindowState(window.windowState() | Qt.WindowActive)
|
window.setWindowState(window.windowState() | Qt.WindowActive)
|
||||||
|
Loading…
Reference in New Issue
Block a user