Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
406f6df8
Commit
406f6df8
authored
Mar 23, 2010
by
Ludovic Fauvet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
timeline: avoid the "freeze" when the first clip is added to the timeline.
parent
a4653c7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/Gui/timeline/TracksView.cpp
src/Gui/timeline/TracksView.cpp
+2
-1
No files found.
src/Gui/timeline/TracksView.cpp
View file @
406f6df8
...
...
@@ -396,7 +396,8 @@ TracksView::moveMediaItem( AbstractGraphicsMediaItem *item, QPoint position )
// When the mouse pointer is not on a track,
// use the last known track.
// This avoids "breaks" when moving a rush
if
(
!
lastKnownTrack
)
return
;
if
(
!
lastKnownTrack
)
lastKnownTrack
=
getTrack
(
MainWorkflow
::
VideoTrack
,
0
);
track
=
lastKnownTrack
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment