mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: [STUDIO-1574] not switch filament preset after wizard
Change-Id: Id830b6c8f4ffd76a0b58c51ba892a79f075c0cea
This commit is contained in:
parent
81e723711a
commit
588e79c76d
4 changed files with 9 additions and 10 deletions
|
@ -795,7 +795,8 @@ bool GuideFrame::apply_config(AppConfig *app_config, PresetBundle *preset_bundle
|
|||
first_added_preset = get_first_added_preset(old_presets, m_appconfig_new.get_section(section_name));
|
||||
}
|
||||
};
|
||||
get_first_added_material_preset(AppConfig::SECTION_FILAMENTS, first_added_filament);
|
||||
// Not switch filament
|
||||
//get_first_added_material_preset(AppConfig::SECTION_FILAMENTS, first_added_filament);
|
||||
|
||||
//update the app_config
|
||||
app_config->set_section(AppConfig::SECTION_FILAMENTS, enabled_filaments);
|
||||
|
@ -819,6 +820,7 @@ bool GuideFrame::run()
|
|||
|
||||
//p->set_run_reason(reason);
|
||||
//p->set_start_page(start_page);
|
||||
app.preset_bundle->export_selections(*app.app_config);
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << "GuideFrame before ShowModal";
|
||||
if (this->ShowModal() == wxID_OK) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue