diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 9960b9fea4..44b742ec55 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -594,7 +594,7 @@ void PrintConfigDef::init_fff_params() def->enum_values.emplace_back("Engineering Plate"); def->enum_values.emplace_back("High Temp Plate"); def->enum_values.emplace_back("Textured PEI Plate"); - def->enum_labels.emplace_back(L("Cool Plate")); + def->enum_labels.emplace_back(L("Cool Plate / PLA Plate")); def->enum_labels.emplace_back(L("Engineering Plate")); def->enum_labels.emplace_back(L("High Temp Plate")); def->enum_labels.emplace_back(L("Textured PEI Plate")); diff --git a/src/slic3r/GUI/PlateSettingsDialog.cpp b/src/slic3r/GUI/PlateSettingsDialog.cpp index a6086874f6..d6cbfdb967 100644 --- a/src/slic3r/GUI/PlateSettingsDialog.cpp +++ b/src/slic3r/GUI/PlateSettingsDialog.cpp @@ -129,17 +129,11 @@ void PlateSettingsDialog::sync_print_seq(int print_seq) wxString PlateSettingsDialog::to_bed_type_name(BedType bed_type) { switch (bed_type) { case btDefault: - return _L("Same as Global Bed Type"); - case btPC: - return _L("Cool Plate") + " / " + _L("PLA Plate"); - case btEP: - return _L("Engineering Plate"); - case btPEI: - return _L("High Temp Plate"); - case btPTE: - return _L("Textured PEI Plate"); - default: - return _L("Same as Global Bed Type"); + return _L("Same as Global Plate Type"); + default: { + const ConfigOptionDef *bed_type_def = print_config_def.get("curr_bed_type"); + return _(bed_type_def->enum_labels[size_t(bed_type) - 1]); + } } return _L("Same as Global Bed Type"); } diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 0c9c71f968..8420a89ca5 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -622,11 +622,8 @@ Sidebar::Sidebar(Plater *parent) m_bed_type_list = new ComboBox(p->m_panel_printer_content, wxID_ANY, wxString(""), wxDefaultPosition, {-1, FromDIP(30)}, 0, nullptr, wxCB_READONLY); const ConfigOptionDef* bed_type_def = print_config_def.get("curr_bed_type"); if (bed_type_def && bed_type_def->enum_keys_map) { - for (auto item : *bed_type_def->enum_keys_map) { - if (item.first == "Default Plate") - continue; - - m_bed_type_list->AppendString(_L(item.first)); + for (auto item : bed_type_def->enum_labels) { + m_bed_type_list->AppendString(_L(item)); } }