Window modified indication disappears even we have unsaved change.

Issue #167 resolved
Roman Telezhynskyi repo owner created an issue

This is happens because two classes (QUndoStack and VPattern) turn on indication separately.

How repeat.

  1. Open a pattern with standard measurements.
  2. Select Pattern piece->Pattern properties and make some change. The document will be marked as unsaved.
  3. Move a pattern piece, than undo your changes. The document now marked as saved. But we still have unsaved the pattern properties options.

Possible way to fix.

Possible solution could be add three new undo commands: save description, save gradation and save fixed formula.

In theory the signal void VPattern::patternChanged(bool saved); must disappear from the class.

Comments (1)

  1. Log in to comment