Closed gonutz closed 5 years ago
Sure, done :-)
Actually this looks better now, no need for constants and the comment is now gone. The code is back to self-explanatory again :-)
I am closing this one, I created the same thing again on its own branch...
When creating a new canvas the old progress might be lost. The user is queried with a dialog to save their progress. A new option "cancel" is now available which lets you continue working on the current canvas instead of creating a new one.
Also, cancelling the save dialog in case you answer "yes" to saving your progress will also get you back to the current canvas instead of creating a new one.
IMPORTANT NOTE: I did not test the Linux version with the GTK dialog. I have no Linux dev environment currently set up so I created that all by example of the other dialog and with the help of online documentation. Still someone has to test it before merging this PR.