Fix incorrect support style labels in unsaved-changes dialog for Tree supports #890

Closed
opened 2026-04-05 16:34:01 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @kisslorand on 2/3/2026

Description

The unsaved-changes diff dialog indexes enum_labels by enum ordinal value.
SupportMaterialStyle enum ordering did not match the enum_values / enum_labels order, causing incorrect old/new labels when Tree supports were selected.

This change reorders SupportMaterialStyle to align with enum_labels, restoring correct diff display without altering behavior.

Screenshots

image
*Originally created by @kisslorand on 2/3/2026* ### Description The unsaved-changes diff dialog indexes `enum_labels` by enum ordinal value. `SupportMaterialStyle` enum ordering did not match the enum_values / enum_labels order, causing incorrect old/new labels when Tree supports were selected. This change reorders `SupportMaterialStyle` to align with `enum_labels`, restoring correct diff display without altering behavior. ### Screenshots <img width="1534" height="438" alt="image" src="https://github.com/user-attachments/assets/addf157f-bfb2-4930-85bc-b4a065735504" />
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#890