started work on nesting function

This commit is contained in:
itsmattkc
2018-11-10 20:40:59 +11:00
parent be20d67b76
commit 453f0ce8da
4 changed files with 46 additions and 2 deletions
+1 -2
View File
@@ -92,9 +92,8 @@ void TimelineWidget::show_context_menu(const QPoint& pos) {
}
}
if (selected_clips.size() == 0) {
if (selected_clips.isEmpty()) {
// no clips are selected
panel_timeline->cursor_frame = panel_timeline->getTimelineFrameFromScreenPoint(pos.x());
panel_timeline->cursor_track = getTrackFromScreenPoint(pos.y());