Skip to content

Commit

Permalink
fix crash doing Add Selected to Slideshow
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Oct 11, 2024
1 parent 941ba10 commit b2da865
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/docks/timelinedock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2510,6 +2510,8 @@ void TimelineDock::emitSelectedFromSelection()
int trackIndex = clip.y();
int clipIndex = clip.x();
auto info = m_model.getClipInfo(trackIndex, clipIndex);
if (!info)
continue;
auto info2 = m_model.getClipInfo(trackIndex, clipIndex - 1);
if (info2 && info2->producer && info2->producer->is_valid()
&& info2->producer->get(kShotcutTransitionProperty)) {
Expand Down

0 comments on commit b2da865

Please sign in to comment.