diff options
author | terminator356 <termtech@rogers.com> | 2014-01-11 01:22:42 -0500 |
---|---|---|
committer | terminator356 <termtech@rogers.com> | 2014-01-11 01:22:42 -0500 |
commit | 0202c2b0bc1a7dadc21af7d0ff82affd655bfade (patch) | |
tree | 1005ebf18ef2a815f46da5e8071dfc100644a0e9 /muse2 | |
parent | 0da82e59960c237955e14fa45965ae60b1d181b8 (diff) |
Fix song not 'dirty' on most operations (close was not prompting to save)HEADorigin/scoreeditorigin/poslen_changesorigin/masterorigin/experimentalorigin/deeper_changesorigin/audiostreamsorigin/audiomsg_overhaulorigin/HEADmaster
Diffstat (limited to 'muse2')
-rw-r--r-- | muse2/ChangeLog | 4 | ||||
-rw-r--r-- | muse2/muse/undo.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog index c53b445b..df917e8c 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -1,3 +1,7 @@ +11.01.2014: + - Fix song not 'dirty' on most operations (close was not prompting to save). (Tim) + Added 'emit sigDirty()' at end of Song::executeOperationGroup3() and ::revertOperationGroup3() + if operations list not empty. 10.01.2014: - Instrument Editor now basically complete: Added Initialization Sequence editor. (Tim) Initialization sequence sysex's can be entered manually or chosen from pre-defined list diff --git a/muse2/muse/undo.cpp b/muse2/muse/undo.cpp index 197c1f2a..7e80cbce 100644 --- a/muse2/muse/undo.cpp +++ b/muse2/muse/undo.cpp @@ -1013,6 +1013,8 @@ void Song::revertOperationGroup3(Undo& operations) break; } } + if(!operations.empty()) + emit sigDirty(); } //--------------------------------------------------------- @@ -1143,6 +1145,8 @@ void Song::executeOperationGroup3(Undo& operations) break; } } + if(!operations.empty()) + emit sigDirty(); } |