This repository was archived by the owner on Mar 26, 2021. It is now read-only.
This repository was archived by the owner on Mar 26, 2021. It is now read-only.
Update UI to show if there are unsaved changes. #76
Open
Description
📖 Overview
- Save menu action should be enabled only when there are unsaved changes
- The window title should include an asterisk to indicate if the project is unsaved
A project has unsaved changes if:
- The project is not yet saved to the disk.
- OR There are pending changes to the project.
- OR There are pending changes to any charts within the project.
A chart has unsaved changes if:
- The chart has not yet been saved to the disk.
- OR The chart's undo stack is non-empty
- AND The item at the top of the undo stack is not the same item since the last save