Fix wrong multi-variant category displayed in unsaved cfg dialog if option name is a prefix of another option

(such as `filament_wipe` and `filament_wipe_distance`)
This commit is contained in:
Noisyfox
2026-05-22 10:46:29 +08:00
parent 6690bdf149
commit a5453acdc5
2 changed files with 5 additions and 4 deletions

View File

@@ -8257,7 +8257,7 @@ std::set<std::string> filament_options_with_variant = {
"filament_deretraction_speed",
"filament_retraction_minimum_travel",
"filament_retract_when_changing_layer",
"filament_wipe",
"filament_wipe",
//BBS
"filament_wipe_distance",
"filament_retract_before_wipe",