This commit is contained in:
jzxc95 2022-08-23 15:14:27 +08:00
parent acf263ccfc
commit 89df54b188
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ bool MainWindow::eventFilter(QObject *watched, QEvent *event)
{
if (event->type() == QEvent::ActivationChange) {
if(QApplication::activeWindow() != this) {
// hideMainwindow();
hideMainwindow();
}
}
return QMainWindow::eventFilter(watched,event);