fix: fixed Mainwindow UI state restore issue

This commit is contained in:
QxQ 2020-10-05 21:17:16 +08:00
parent db5051d269
commit 7e34bcfdbc
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
5969
5970

View File

@ -39,8 +39,8 @@ void MainWindow::MWHideWindow()
ProcessSerialNumber psn = { 0, kCurrentProcess };
TransformProcessType(&psn, kProcessTransformToUIElementApplication);
#endif
this->hide();
SaveState();
this->hide();
tray_action_ToggleVisibility->setText(tr("Show"));
}