clip.pts_in = current_pts;
cliplist_clips->add_clip(clip);
playlist_selection_changed();
+ ui->clip_list->scrollToBottom();
}
void MainWindow::cue_out_clicked()
if (clip.pts_out != -1) {
playlist_clips->add_clip(clip);
playlist_selection_changed();
+ ui->playlist->scrollToBottom();
}
return;
}
if (clip.pts_out != -1) {
playlist_clips->add_clip(clip);
playlist_selection_changed();
+ ui->playlist->scrollToBottom();
+ if (!ui->playlist->selectionModel()->hasSelection()) {
+ // TODO: Figure out why this doesn't always seem to actually select the row.
+ QModelIndex bottom = playlist_clips->index(playlist_clips->size() - 1, 0);
+ ui->playlist->setCurrentIndex(bottom);
+ }
}
}