We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07ff7d0 commit 53172e5Copy full SHA for 53172e5
1 file changed
src/WizMainWindow.cpp
@@ -908,6 +908,13 @@ void WizMainWindow::handleTrayIconActived(QSystemTrayIcon::ActivationReason reas
908
void WizMainWindow::shiftVisableStatus()
909
{
910
qDebug() << "windowState: " + QString::number(windowState(), 8);
911
+
912
+ if (isVisible() && isActiveWindow())
913
+ {
914
+ hide();
915
+ return;
916
+ }
917
918
switch(windowState()) {
919
case Qt::WindowNoState:
920
// Normal window, but de-activated
0 commit comments