NotificationBox: Hide notification if FreeCAD is deactivated

This commit is contained in:
Abdullah Tahiri
2023-03-21 07:44:21 +01:00
committed by abdullahtahiriyo
parent b74425b441
commit 05dcc0bac8

View File

@@ -246,6 +246,11 @@ bool NotificationLabel::eventFilter(QObject* o, QEvent* e)
return insideclick;
}
}
break;
case QEvent::WindowDeactivate:
hideNotificationImmediately();
break;
default:
break;
}