ENH: open wizard dialog after creating or editing custom Filament
Jira: XXXX Change-Id: I68d13df943b29cb9464f04651ed3fa9ec7511789 (cherry picked from commit e4f4720a249559c6a3c98872338ca7dbe4c73044)
This commit is contained in:
parent
3a21a4d4cc
commit
784dada917
|
@ -8053,6 +8053,7 @@ void Plater::priv::on_create_filament(SimpleEvent &)
|
|||
CreatePresetSuccessfulDialog success_dlg(wxGetApp().mainframe, SuccessType::FILAMENT);
|
||||
int res = success_dlg.ShowModal();
|
||||
}
|
||||
wxGetApp().run_wizard(ConfigWizard::RR_USER, ConfigWizard::SP_FILAMENTS);
|
||||
}
|
||||
|
||||
void Plater::priv::on_modify_filament(SimpleEvent &evt)
|
||||
|
@ -8080,7 +8081,8 @@ void Plater::priv::on_modify_filament(SimpleEvent &evt)
|
|||
tab->select_preset(need_edit_preset->name);
|
||||
// when some preset have modified, if the printer is not need_edit_preset_name compatible printer, the preset will jump to other preset, need select again
|
||||
if (!need_edit_preset->is_compatible) tab->select_preset(need_edit_preset->name);
|
||||
}
|
||||
} else
|
||||
wxGetApp().run_wizard(ConfigWizard::RR_USER, ConfigWizard::SP_FILAMENTS);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue