Validate Error notification

This commit is contained in:
David Kocik 2021-07-29 13:54:45 +02:00
parent 9f0c6576f6
commit aebbafc75c
3 changed files with 18 additions and 9 deletions

View file

@ -1096,6 +1096,11 @@ void NotificationManager::push_notification(NotificationType type,
}
push_notification_data({ type, level, duration, text, hypertext, callback }, timestamp);
}
void NotificationManager::push_validate_error_notification(const std::string& text)
{
push_notification_data({ NotificationType::ValidateError, NotificationLevel::ErrorNotification, 0, _u8L("ERROR:") + "\n" + text }, 0);
}
void NotificationManager::push_slicing_error_notification(const std::string& text)
{
set_all_slicing_errors_gray(false);