FIX: sync user preset notify crash on exit
Change-Id: I88f5dbcbd487293ea847ea6092efb61744399541 Jira: STUDIO-5413
This commit is contained in:
parent
f6b2305ae3
commit
e866c8321c
|
@ -4734,7 +4734,8 @@ void GUI_App::start_sync_user_preset(bool with_progress_dlg)
|
|||
|
||||
if (total_count == 0) {
|
||||
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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue