fix main window visibility switching
This commit is contained in:
parent
122b886cab
commit
65e232d2d2
1 changed files with 2 additions and 1 deletions
|
@ -1014,8 +1014,9 @@ void FormMain::changeEvent(QEvent* event) {
|
|||
SystemTrayIcon::isSystemTrayDesired() && SystemTrayIcon::isSystemTrayAreaAvailable() &&
|
||||
qApp->settings()->value(GROUP(GUI), SETTING(GUI::HideMainWindowWhenMinimized)).toBool()) {
|
||||
event->ignore();
|
||||
|
||||
QTimer::singleShot(CHANGE_EVENT_DELAY, this, [this]() {
|
||||
switchVisibility();
|
||||
switchVisibility(true);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue