mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: [BLPIOT-64] only default or user presets
Change-Id: I1c846aa26fdac95652ae8e7b3d01c30f99e7ef61
This commit is contained in:
@@ -4425,6 +4425,9 @@ void GUI_App::start_sync_user_preset(bool load_immediately, bool with_progress_d
|
||||
{
|
||||
if (!m_agent || !m_agent->is_user_login()) return;
|
||||
|
||||
if (load_immediately)
|
||||
remove_user_presets();
|
||||
|
||||
enable_user_preset_folder(true);
|
||||
|
||||
// has already start sync
|
||||
@@ -4541,6 +4544,9 @@ void GUI_App::stop_sync_user_preset()
|
||||
remove_user_presets();
|
||||
enable_user_preset_folder(false);
|
||||
|
||||
preset_bundle->load_user_presets(DEFAULT_USER_FOLDER_NAME, ForwardCompatibilitySubstitutionRule::Enable);
|
||||
mainframe->update_side_preset_ui();
|
||||
|
||||
if (!enable_sync)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user