mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-29 14:06:35 +03:00
PresetUpdater: Fix reloading of profiles after reconfigure and update
Fix #1060 Fix #985
This commit is contained in:
@@ -570,6 +570,7 @@ bool PresetUpdater::config_update() const
|
||||
if (! wizard.run(GUI::get_preset_bundle(), this)) {
|
||||
return false;
|
||||
}
|
||||
GUI::load_current_presets();
|
||||
} else {
|
||||
BOOST_LOG_TRIVIAL(info) << "User wants to exit Slic3r, bye...";
|
||||
return false;
|
||||
@@ -599,7 +600,6 @@ bool PresetUpdater::config_update() const
|
||||
|
||||
// Reload global configuration
|
||||
auto *app_config = GUI::get_app_config();
|
||||
app_config->reset_selections();
|
||||
GUI::get_preset_bundle()->load_presets(*app_config);
|
||||
GUI::load_current_presets();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user