added saving/restoring state of panels and completed nested sequences

This commit is contained in:
itsmattkc
2018-11-15 11:35:54 +11:00
parent 52cbd3e4fb
commit 8ce6473839
5 changed files with 106 additions and 46 deletions
+3
View File
@@ -144,6 +144,9 @@ void TimelineWidget::show_context_menu(const QPoint& pos) {
autoscaleAction->setCheckable(true);
connect(autoscaleAction, SIGNAL(triggered(bool)), this, SLOT(toggle_autoscale()));
QAction* nestAction = menu.addAction("&Nest");
connect(nestAction, SIGNAL(triggered(bool)), mainWindow, SLOT(on_actionNest_triggered()));
// set autoscale arbitrarily to the first selected clip
autoscaleAction->setChecked(selected_clips.at(0)->autoscale);