diff --git a/src/Gui/NotificationArea.cpp b/src/Gui/NotificationArea.cpp index 562b37cee8..325786ebbb 100644 --- a/src/Gui/NotificationArea.cpp +++ b/src/Gui/NotificationArea.cpp @@ -675,6 +675,16 @@ NotificationArea::ParameterObserver::ParameterObserver(NotificationArea* notific auto enabled = hGrp->GetBool(string.c_str(), true); notificationArea->pImp->preventNonIntrusiveNotificationsWhenWindowNotActive = enabled; }}, + {"ErrorSubscriptionEnabled", + [this](const std::string& string) { + auto enabled = hGrp->GetBool(string.c_str(), true); + notificationArea->pImp->observer->bErr = enabled; + }}, + {"WarningSubscriptionEnabled", + [this](const std::string& string) { + auto enabled = hGrp->GetBool(string.c_str(), true); + notificationArea->pImp->observer->bWrn = enabled; + }}, }; for (auto& val : parameterMap) {