From 0202c2b0bc1a7dadc21af7d0ff82affd655bfade Mon Sep 17 00:00:00 2001 From: terminator356 Date: Sat, 11 Jan 2014 01:22:42 -0500 Subject: Fix song not 'dirty' on most operations (close was not prompting to save) --- muse2/muse/undo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'muse2/muse/undo.cpp') 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(); } -- cgit v1.2.1