Unminimize IV when opening another one.

This commit is contained in:
John Preston 2024-03-14 12:51:34 +04:00
parent d92418dc6d
commit f6b9702b52

View file

@ -577,6 +577,11 @@ void Controller::showInWindow(const QString &dataPath, Prepared page) {
}
void Controller::activate() {
if (_window->isMinimized()) {
_window->showNormal();
} else if (_window->isHidden()) {
_window->show();
}
_window->raise();
_window->activateWindow();
_window->setFocus();