mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +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() {
|
||||
if (_window->isMinimized()) {
|
||||
_window->showNormal();
|
||||
} else if (_window->isHidden()) {
|
||||
_window->show();
|
||||
}
|
||||
_window->raise();
|
||||
_window->activateWindow();
|
||||
_window->setFocus();
|
||||
|
|
Loading…
Add table
Reference in a new issue