trevorsandy / lpub3d

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

Wrong message in dialog box #701

Closed technicbasics closed 1 year ago

technicbasics commented 1 year ago

Subject

After editing the code in the Command Editor and click the "Update" button, the message in the question dialog is wrong. However, this has nothing to do with the functionality of the program, it is just a cosmetic thing. Dialog box in r106: 2023-04-10 09_24_50-Pistenbully 600 Polar mpd - LPub3D v2 4 6 r106 (Dev-release)

Dialog box in r131: 2023-04-09 17_38_38-Pistenbully 600 Polar mpd - LPub3D v2 4 6 r131 (Release)

The new code generated here, which should display the number of pages, is always set to "0".

Environment

Steps to reproduce

Edit the file code in the command editor and click the "Update" button

trevorsandy commented 1 year ago

Thank you for reporting this behaviour.

Indeed, I did not account for page updates in the last 'prompt to cycle pages on jump ahead' commit,

This behaviour has been corrected and will be available in the next build release.

Cheers,