summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse2/ChangeLog4
-rw-r--r--muse2/muse/undo.cpp4
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();
}