Correct window transitions from browser plugin
* Eliminated multiple state variables * Fix #1643, window is brought to front
This commit is contained in:
@@ -1162,7 +1162,7 @@ void MainWindow::hideYubiKeyPopup()
|
||||
void MainWindow::bringToFront()
|
||||
{
|
||||
ensurePolished();
|
||||
setWindowState(windowState() & ~Qt::WindowMinimized);
|
||||
setWindowState((windowState() & ~Qt::WindowMinimized) | Qt::WindowActive);
|
||||
show();
|
||||
raise();
|
||||
activateWindow();
|
||||
|
||||
Reference in New Issue
Block a user