uml-tool
uml-tool copied to clipboard
Each project should contain separate undo stack
In the current implementation we have only one undo stack for all projects. This potentially lead to inconsistency and memory leaks.
Acceptance criteria:
- Separate undo stack should be created per project
- When active project has changed, current command stack should be changed as well
- When project is closed, its undo stack should be dropped as well
- Command for changing active project shouldn't be added to any undo stack at all
- Deactivated project should retain its modified state (and all other states)