mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-26 14:49:43 -07:00
Show an error notification when attempting to save 3MF while editing SLA support points
The notification disappears when it is no longer valid.
This commit is contained in:
@@ -1147,9 +1147,11 @@ bool GLGizmosManager::is_in_editing_mode(bool error_notification) const
|
||||
return false;
|
||||
|
||||
if (error_notification)
|
||||
wxGetApp().plater()->get_notification_manager()->push_slicing_error_notification(
|
||||
_u8L("You are currently editing SLA support points. Please, apply or discard "
|
||||
"your changes first."));
|
||||
wxGetApp().plater()->get_notification_manager()->push_notification(
|
||||
NotificationType::QuitSLAManualMode,
|
||||
NotificationManager::NotificationLevel::ErrorNotification,
|
||||
_u8L("You are currently editing SLA support points. Please, "
|
||||
"apply or discard your changes first."));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user