From 10866c743fceded3aeb5bebeffa8198b73117e29 Mon Sep 17 00:00:00 2001 From: Ioannis Giannakas <59056762+igiannakas@users.noreply.github.com> Date: Thu, 4 Jun 2026 22:53:47 +0100 Subject: [PATCH] Fix incorrect custom printer profile grouping (#14044) --- src/slic3r/GUI/PresetComboBoxes.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/PresetComboBoxes.cpp b/src/slic3r/GUI/PresetComboBoxes.cpp index a2a4422010..439f7dc1eb 100644 --- a/src/slic3r/GUI/PresetComboBoxes.cpp +++ b/src/slic3r/GUI/PresetComboBoxes.cpp @@ -1402,7 +1402,12 @@ void PlaterPresetComboBox::update() : group_filament_presets == "2" ? "by_type" // Create sub menus with filament type : group_filament_presets == "3" ? "by_vendor" // Create sub menus with filament vendor : ""; // Use without sub menu - add_presets(nonsys_presets, selected_user_preset, L("User presets"), group_filament_presets_by); + // ORCA: the by_type/by_vendor grouping is derived from filament-only attributes + // (filament_type/filament_vendor), which are empty for printer and material presets. + // Applying it to non-filament combos buckets every user preset under "Unspecified", + // so only group user presets by those attributes for the filament combobox. + add_presets(nonsys_presets, selected_user_preset, L("User presets"), + m_type == Preset::TYPE_FILAMENT ? group_filament_presets_by : wxString("")); // ORCA: add bundle presets with sub-dropdown grouping for filament and printer auto bundle_group_name = (m_type == Preset::TYPE_FILAMENT || m_type == Preset::TYPE_PRINTER) ? "by_bundle" : ""; add_presets(bundle_presets, selected_bundle_preset, L("Bundle presets"), bundle_group_name);