mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 09:11:08 +00:00
Fix per-plate bed type handling (#15916)
This commit is contained in:
@@ -431,8 +431,9 @@ PlateSettingsDialog::PlateSettingsDialog(wxWindow* parent, const wxString& title
|
||||
}
|
||||
}
|
||||
|
||||
if (!wxGetApp().preset_bundle->is_bbl_vendor())
|
||||
m_bed_type_choice->Disable();
|
||||
auto &preset_bundle = *wxGetApp().preset_bundle;
|
||||
const auto &printer_config = preset_bundle.printers.get_edited_preset().config;
|
||||
m_bed_type_choice->Enable(preset_bundle.is_bbl_vendor() || printer_config.opt_bool("support_multi_bed_types"));
|
||||
|
||||
wxStaticText* m_bed_type_txt = new wxStaticText(this, wxID_ANY, _L("Bed type"));
|
||||
m_bed_type_txt->SetFont(Label::Body_14);
|
||||
|
||||
Reference in New Issue
Block a user