FIX:Switch to third-party printer should reset combox choices

jira: github 6197
Change-Id: Iff9bc6cf3cdcf6e62614eaa4c5bb140ea62479a1
This commit is contained in:
zhou.xu 2025-04-22 18:18:27 +08:00 committed by Lane.Wei
parent 9c909f6524
commit d3301ce543
1 changed files with 2 additions and 1 deletions

View File

@ -2169,6 +2169,7 @@ void Sidebar::update_all_preset_comboboxes()
} else {
p->btn_connect_printer->Show();
p->m_bpButton_ams_filament->Hide();
reset_bed_type_combox_choices();
p_mainframe->set_print_button_to_default(MainFrame::PrintSelectType::eSendGcode);
auto cfg = preset_bundle.printers.get_edited_preset().config;
wxString url;