Correct window transitions from browser plugin

* Eliminated multiple state variables
* Fix #1643, window is brought to front
This commit is contained in:
Jonathan White committed 2019-02-05 16:09:17 -05:00
1 parent ca39f6e159
commit d3a424cc74
3 files changed
+28 -10

No files matched your search

+1 -1
View File
@@ -1162,7 +1162,7 @@ void MainWindow::hideYubiKeyPopup()
void MainWindow::bringToFront()
{
ensurePolished();
setWindowState(windowState() & ~Qt::WindowMinimized);
setWindowState((windowState() & ~Qt::WindowMinimized) | Qt::WindowActive);
show();
raise();
activateWindow();