mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
@@ -102,7 +102,7 @@ void Controller::minimize() {
|
||||
if (Global::WorkMode().value() == dbiwmTrayOnly) {
|
||||
_widget.minimizeToTray();
|
||||
} else {
|
||||
_widget.setWindowState(Qt::WindowMinimized);
|
||||
_widget.setWindowState(_widget.windowState() | Qt::WindowMinimized);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user