Please sign in to comment.
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... (cherry-picked from 02bd1cc)
- Loading branch information
Showing with 44 additions and 6 deletions.