mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Unminimize IV when opening another one.
This commit is contained in:
parent
d92418dc6d
commit
f6b9702b52
1 changed files with 5 additions and 0 deletions
|
@ -577,6 +577,11 @@ void Controller::showInWindow(const QString &dataPath, Prepared page) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Controller::activate() {
|
void Controller::activate() {
|
||||||
|
if (_window->isMinimized()) {
|
||||||
|
_window->showNormal();
|
||||||
|
} else if (_window->isHidden()) {
|
||||||
|
_window->show();
|
||||||
|
}
|
||||||
_window->raise();
|
_window->raise();
|
||||||
_window->activateWindow();
|
_window->activateWindow();
|
||||||
_window->setFocus();
|
_window->setFocus();
|
||||||
|
|
Loading…
Add table
Reference in a new issue