Skip to content

Commit

Permalink
Fix audio waveform of shot on left after split.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Nov 29, 2014
1 parent 0370f96 commit 182e286
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/multitrackmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,8 @@ void MultitrackModel::splitClip(int trackIndex, int clipIndex, int position)
roles << DurationRole;
roles << OutPointRole;
emit dataChanged(modelIndex, modelIndex, roles);
QThreadPool::globalInstance()->start(
new AudioLevelsTask(clip->parent(), this, modelIndex));

beginInsertRows(index(trackIndex), clipIndex + 1, clipIndex + 1);
if (clip->is_blank()) {
Expand Down

0 comments on commit 182e286

Please sign in to comment.