-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved UX when closing projects with layers with unsaved changes
Previously, the unsaved layer warnings would come AFTER the unsaved project warning. The unsaved layer warnings had no cancel option, which meant that there was no way to cancel a project close when unsaved layer edits exist, and you were forced to either save these edits or discard them. Now, the unsaved layer edits checks occur before the unsaved project check, and you have the option now to 'Cancel' the project close from the unsaved layer edits messagebox. This allows users to cancel the project close operation if they want to e.g. inspect manually unsaved layers to decide what action is appropriate to take on these. Also fixes the unsaved layer edits prompt sometimes didn't appear, even though unsaved changes were present...
- Loading branch information
1 parent
e5604f9
commit 02bd1cc
Showing
2 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters