[vlmc-devel] commit: TrackScene: Fixing clip effect deletion ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Mon Oct 4 21:26:06 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Oct  4 21:19:34 2010 +0200| [19378676ad66eba93a93c7eda8756b6325d418cb] | committer: Hugo Beauzée-Luyssen 

TrackScene: Fixing clip effect deletion

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=19378676ad66eba93a93c7eda8756b6325d418cb
---

 src/Gui/timeline/TracksScene.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Gui/timeline/TracksScene.cpp b/src/Gui/timeline/TracksScene.cpp
index 13bc542..01309b3 100644
--- a/src/Gui/timeline/TracksScene.cpp
+++ b/src/Gui/timeline/TracksScene.cpp
@@ -118,7 +118,7 @@ TracksScene::askRemoveSelectedItems()
         {
             EffectHelper    *eh = qobject_cast<EffectHelper*>( item->helper() );
             Q_ASSERT( eh != NULL );
-            Commands::trigger( new Commands::Effect::Remove( eh, item->track()->trackWorkflow() ) );
+            Commands::trigger( new Commands::Effect::Remove( eh, eh->target() ) );
         }
     }
 



More information about the Vlmc-devel mailing list