mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
misc fixes
This commit is contained in:
@@ -1028,12 +1028,13 @@ void Sidebar::update_all_preset_comboboxes()
|
||||
PresetBundle &preset_bundle = *wxGetApp().preset_bundle;
|
||||
const auto print_tech = preset_bundle.printers.get_edited_preset().printer_technology();
|
||||
|
||||
bool is_bbl_preset = preset_bundle.is_bbl_vendor();
|
||||
bool is_bbl_vendor = preset_bundle.is_bbl_vendor();
|
||||
|
||||
// Orca:: show device tab based on vendor type
|
||||
auto p_mainframe = wxGetApp().mainframe;
|
||||
p_mainframe->show_device(is_bbl_vendor);
|
||||
|
||||
p_mainframe->show_device(is_bbl_preset);
|
||||
if (is_bbl_preset) {
|
||||
if (is_bbl_vendor) {
|
||||
//only show connection button for not-BBL printer
|
||||
connection_btn->Hide();
|
||||
//only show sync-ams button for BBL printer
|
||||
@@ -1087,6 +1088,8 @@ void Sidebar::update_all_preset_comboboxes()
|
||||
|
||||
if (p->combo_printer)
|
||||
p->combo_printer->update();
|
||||
|
||||
p_mainframe->m_tabpanel->SetSelection(p_mainframe->m_tabpanel->GetSelection());
|
||||
}
|
||||
|
||||
void Sidebar::update_presets(Preset::Type preset_type)
|
||||
|
||||
Reference in New Issue
Block a user