Skip to content

Commit

Permalink
Unminimize IV when opening another one.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Mar 14, 2024
1 parent d92418d commit f6b9702
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Telegram/SourceFiles/iv/iv_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f6b9702

Please sign in to comment.