[vlmc-devel] commit: TracksView: Fixing clip duplication check. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Thu Aug 26 23:51:30 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Aug 26 23:51:08 2010 +0200| [8c86aa775b820c55d0b5b08afc3282a607779fd9] | committer: Hugo Beauzée-Luyssen
TracksView: Fixing clip duplication check.
Fixes split undo/redo
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=8c86aa775b820c55d0b5b08afc3282a607779fd9
---
src/Gui/timeline/TracksView.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 6341ddb..1fe1388 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -218,8 +218,6 @@ TracksView::removeClip( const QUuid& uuid )
// Removing the item from the backend.
item->track()->trackWorkflow()->removeClip( itemUuid );
-
- m_clipsLoaded.remove( item->clipHelper()->uuid() );
}
}
}
@@ -620,6 +618,7 @@ TracksView::removeMediaItem( AbstractGraphicsMediaItem *item )
QList<AbstractGraphicsMediaItem*> items;
items.append( item );
removeMediaItem( items );
+ m_clipsLoaded.remove( item->clipHelper()->uuid() );
}
void
More information about the Vlmc-devel
mailing list