The undo stack is only relevant to the dives that were loaded at the time the command was executed. If a file is closed, by specifically closing it or opening another file, then the undo commands will reference dives that aren't available anymore. Clearing the undo stack ensures that we don't crash or accidentally do some undefined modifications to the currently open file. Signed-off-by: Michael Andreen <michael@andreen.dev>
345 B
345 B
- Desktop: Allow more than one media file to be imported from web
- undo: Clear undo stack when the current file is closed
- Always add new entries at the very top of this file above other existing entries and this note.
- Use this layout for new entries:
[Area]: [Details about the change] [reference thread / issue]