Commit 54b43cb5 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix typo crashing on subtitle group move

parent 11fab991
......@@ -1190,7 +1190,7 @@ int TimelineModel::suggestSubtitleMove(int subId, int position, int cursorPositi
} else if (isSubTitle(current_clipId)) {
int in = getItemPosition(current_clipId) - offset;
ignored_pts.push_back(in);
ignored_pts.push_back(in + getItemPlaytime(subId));
ignored_pts.push_back(in + getItemPlaytime(current_clipId));
}
}
int snapped = getBestSnapPos(currentPos, position - currentPos, ignored_pts, cursorPosition, snapDistance);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment