mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
FIX: sync user preset notify crash on exit
Change-Id: I88f5dbcbd487293ea847ea6092efb61744399541 Jira: STUDIO-5413
This commit is contained in:
@@ -4734,7 +4734,8 @@ void GUI_App::start_sync_user_preset(bool with_progress_dlg)
|
|||||||
|
|
||||||
if (total_count == 0) {
|
if (total_count == 0) {
|
||||||
CallAfter([this] {
|
CallAfter([this] {
|
||||||
plater()->get_notification_manager()->close_notification_of_type(NotificationType::BBLUserPresetExceedLimit);
|
if (!m_is_closing)
|
||||||
|
plater()->get_notification_manager()->close_notification_of_type(NotificationType::BBLUserPresetExceedLimit);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user