]> git.sesse.net Git - kdenlive/commitdiff
Set document modified when deleting an effect from multiple clips
authorTill Theato <root@ttill.de>
Fri, 21 Jan 2011 22:30:44 +0000 (22:30 +0000)
committerTill Theato <root@ttill.de>
Fri, 21 Jan 2011 22:30:44 +0000 (22:30 +0000)
svn path=/trunk/kdenlive/; revision=5339

src/customtrackview.cpp

index a6918a1d6c06e8523b05575b67ebe2cc3e6ab041..c3906973dc56e255530da9a845240e05ad712061 100644 (file)
@@ -1820,8 +1820,11 @@ void CustomTrackView::slotDeleteEffect(ClipItem *clip, int track, QDomElement ef
                 }
             }
         }
-        if (delCommand->childCount() > 0) m_commandStack->push(delCommand);
-        else delete delCommand;
+        if (delCommand->childCount() > 0)
+            m_commandStack->push(delCommand);
+        else
+            delete delCommand;
+        setDocumentModified();
         return;
     }
     AddEffectCommand *command = new AddEffectCommand(this, m_document->tracksCount() - clip->track(), clip->startPos(), effect, false);
@@ -3176,7 +3179,6 @@ void CustomTrackView::mouseReleaseEvent(QMouseEvent * event)
         resetSelectionGroup(false);
         m_operationMode = NONE;
     } else if (m_operationMode == RUBBERSELECTION) {
-        //kDebug() << "// END RUBBER SELECT";
         resetSelectionGroup();
         groupSelectedItems();
         m_operationMode = NONE;