From 2397883adbd7224fdb072ec914ed311443079c61 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 6 Apr 2022 18:32:55 +0200 Subject: [PATCH] Gui: [skip ci] avoid that mouse is stuck after opening Help page with What's This --- src/Gui/MainWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index 49bd3fc5d0..d5dceb03f4 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -866,6 +866,7 @@ bool MainWindow::eventFilter(QObject* o, QEvent* e) QApplication::sendEvent(this, &e); } static_cast(o)->setAttribute(Qt::WA_OutsideWSRange); + o->deleteLater(); return true; } if (o->inherits("QWhatsThat") && e->type() == QEvent::Hide) {