Default raise_windows() alert param to True to preserve existing

behavior
This commit is contained in:
RyanJenkins 2017-12-27 12:40:55 -08:00
parent 9cb25e0c76
commit 53575aaeed

View File

@ -94,7 +94,7 @@ def get_window(via_ipc, force_window=False, force_tab=False,
return window.win_id
def raise_window(window, alert=False):
def raise_window(window, alert=True):
"""Raise the given MainWindow object."""
window.setWindowState(window.windowState() & ~Qt.WindowMinimized)
window.setWindowState(window.windowState() | Qt.WindowActive)