Notification manager - apply_in_preview function

This commit is contained in:
David Kocik 2021-03-18 12:42:42 +01:00
parent a6cf840540
commit 7c7c355376
3 changed files with 5 additions and 4 deletions

View file

@ -1014,7 +1014,7 @@ void NotificationManager::push_plater_warning_notification(const std::string& te
auto notification = std::make_unique<NotificationManager::PlaterWarningNotification>(data, m_id_provider, m_evt_handler);
push_notification_data(std::move(notification), 0);
// dissaper if in preview
set_in_preview(m_in_preview);
apply_in_preview();
}
void NotificationManager::close_plater_warning_notification(const std::string& text)