[vlmc-devel] commit: timeline: ensure that all tracks are shown during a vertical scroll (Ludovic Fauvet )

git at videolan.org git at videolan.org
Mon Mar 22 23:25:55 CET 2010


vlmc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Mon Mar 22 23:24:38 2010 +0100| [02e011c05df7332ea13bb0e962ee720634bc17dd] | committer: Ludovic Fauvet 

timeline: ensure that all tracks are shown during a vertical scroll

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

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

diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 386f5cb..a0293c6 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -120,6 +120,7 @@ TracksView::addVideoTrack()
     m_scene->invalidate(); // Redraw the background
     m_numVideoTrack++;
     emit videoTrackAdded( track );
+    updateDuration();
 }
 
 void
@@ -133,6 +134,7 @@ TracksView::addAudioTrack()
     m_scene->invalidate(); // Redraw the background
     m_numAudioTrack++;
     emit audioTrackAdded( track );
+    updateDuration();
 }
 
 void



More information about the Vlmc-devel mailing list