committed by
Chris Rizzitello
parent
0446db93e6
commit
13219ca49c
@ -1107,6 +1107,7 @@ void MainWindow::updateScreenName()
|
||||
|
||||
void MainWindow::showAndActivate()
|
||||
{
|
||||
const auto wasVisible = isVisible();
|
||||
#ifdef Q_OS_MACOS
|
||||
forceAppActive();
|
||||
#endif
|
||||
@ -1115,7 +1116,8 @@ void MainWindow::showAndActivate()
|
||||
activateWindow();
|
||||
m_actionRestore->setVisible(false);
|
||||
m_actionMinimize->setVisible(true);
|
||||
restoreWindow();
|
||||
if (!wasVisible)
|
||||
restoreWindow();
|
||||
}
|
||||
|
||||
void MainWindow::showHostNameEditor()
|
||||
|
||||
Reference in New Issue
Block a user