From 1c214029818a1b7bd5beae013179c50020bcdf4b Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Thu, 14 May 2026 00:17:24 +0800 Subject: [PATCH] Fix issue that printer name disappear if profile is modified (#13653) Fix issue that printer name disappear if profile (other than the first one among its variants) is modified for printers that have multiple variants with different nozzle size --- src/slic3r/GUI/PresetComboBoxes.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slic3r/GUI/PresetComboBoxes.cpp b/src/slic3r/GUI/PresetComboBoxes.cpp index b95f74b248..70cbd5688a 100644 --- a/src/slic3r/GUI/PresetComboBoxes.cpp +++ b/src/slic3r/GUI/PresetComboBoxes.cpp @@ -1241,6 +1241,9 @@ void PlaterPresetComboBox::update() // Remove the old preset name if exists, and add the new one with the same name but with modified suffix if needed. if (system_presets.erase(alternate_name)) system_presets.emplace(name, bmp); + + preset_aliases.erase(alternate_name); // ORCA: do this to aliases too + preset_aliases[name] = name.utf8_string(); } } else { system_presets.emplace(name, bmp);