mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: add object id for gcode check
and display plater limit error individually jira: none Change-Id: Ie6105642667530901be494b344ce853e728ae5fa (cherry picked from commit acd6016fc834c749307205448e05bffee954c71e)
This commit is contained in:
@@ -1918,6 +1918,22 @@ void NotificationManager::close_plater_error_notification(const std::string& tex
|
||||
}
|
||||
}
|
||||
|
||||
void NotificationManager::push_slicing_limit_error_notification(const std::string &text)
|
||||
{
|
||||
set_all_slicing_errors_gray(false);
|
||||
push_notification_data({NotificationType::BBLSliceLimitError, NotificationLevel::ErrorNotificationLevel, 0, _u8L("Error:") + "\n" + text}, 0);
|
||||
set_slicing_progress_hidden();
|
||||
}
|
||||
|
||||
void NotificationManager::close_slicing_limit_error_notification(const std::string &text)
|
||||
{
|
||||
for (std::unique_ptr<PopNotification> ¬ification : m_pop_notifications) {
|
||||
if (notification->get_type() == NotificationType::BBLSliceLimitError) {
|
||||
notification->close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void NotificationManager::push_plater_warning_notification(const std::string& text)
|
||||
{
|
||||
// Find if was not hidden
|
||||
|
||||
Reference in New Issue
Block a user