Commit 014c89fc authored by David Redondo's avatar David Redondo 🏎
Browse files

Unhide window if it is hidden

BUG:428635
FIXED-IN: 20.12.0
parent a72da25f
......@@ -211,6 +211,9 @@ void SpectacleCore::onActivateRequested(QStringList arguments, const QString& /*
break;
}
case Actions::FocusWindow:
if (mMainWindow->isHidden()) {
mMainWindow->show();
}
if (mMainWindow->isMinimized()) {
mMainWindow->setWindowState(mMainWindow->windowState() & ~Qt::WindowMinimized);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment