[vlmc-devel] commit: TracksView: Fixing tracks effect moving undo/redo ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Wed Sep 15 00:53:49 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Sep 15 00:54:27 2010 +0200| [c32c3d2f94f2c8c501bebb9da741b59fa038a2b1] | committer: Hugo Beauzée-Luyssen
TracksView: Fixing tracks effect moving undo/redo
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=c32c3d2f94f2c8c501bebb9da741b59fa038a2b1
---
src/Gui/timeline/TracksView.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 8dd2979..3aac6f5 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -314,7 +314,7 @@ TracksView::addItem( TrackWorkflow *tw, Workflow::Helper *helper, qint64 start )
EffectHelper *effectHelper = qobject_cast<EffectHelper*>( helper );
Q_ASSERT( effectHelper != NULL );
item = new GraphicsEffectItem( effectHelper );
- if ( helper->length() < 0 )
+ if ( helper->length() <= 0 )
item->setWidth( maximumWidth() );
}
m_itemsLoaded.insert( helper->uuid() );
More information about the Vlmc-devel
mailing list