Gui: [skip ci] avoid that mouse is stuck after opening Help page with What's This

This commit is contained in:
wmayer
2022-04-06 18:32:55 +02:00
parent b5a6970c53
commit 2397883adb

View File

@@ -866,6 +866,7 @@ bool MainWindow::eventFilter(QObject* o, QEvent* e)
QApplication::sendEvent(this, &e);
}
static_cast<QWidget *>(o)->setAttribute(Qt::WA_OutsideWSRange);
o->deleteLater();
return true;
}
if (o->inherits("QWhatsThat") && e->type() == QEvent::Hide) {