trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
131 stars 19 forks source link

Persisting fade previous steps and highlight current step settings #683

Closed trevorsandy closed 1 year ago

trevorsandy commented 1 year ago

Subject

Do not persist fade previous steps and highlight current step settings to global preferences when these settings were declared in the loaded model file using LPub meta commands.

Environment

Version of LPub3D - 2.4.7 Operating system - All

Expected behaviour

When the current model file is closed, the global preferences fade previous steps and highlight current step should be reset to values present before loading the model file.

Actual behaviour

In some scenarios the global preferences is not reset

Solution

Reset global preferences fade previous steps and highlight current step settings when the user clicks the application close button without saving (trigger closeEvent) or closes the current model file.

Cheers,

trevorsandy commented 1 year ago

This behaviour has been implemented.

Cheers,