Fix wrong variant index is used on motion ability setting tab (#14253)

Fix wrong variant index is used on motion ability setting tab (OrcaSlicer/OrcaSlicer#13308)
This commit is contained in:
Noisyfox
2026-06-17 23:54:27 +08:00
committed by GitHub
parent 927c5efb8c
commit 9b60b9cd5d

View File

@@ -7458,7 +7458,7 @@ void Tab::switch_excluder(int extruder_id)
if (extruder_id2 > 0)
index = get_index_for_extruder(extruder_id2);
is_extruder = true;
} else if (page->title().StartsWith("Speed limitation")) {
} else if (page->title().StartsWith("Motion ability")) {
index = get_index_for_extruder(extruder_id == -1 ? 0 : extruder_id, 2);
}
}