mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
PresetUpdater: Fix reloading of profiles after reconfigure and update
Fix #1060 Fix #985
This commit is contained in:
parent
1c58c3e153
commit
3e65b4410b
3 changed files with 2 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue