mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Unminimize IV when opening another one.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user