panels: selecting a clip in the timeline automatically selects the corresponding

nodes in the nodeview
This commit is contained in:
itsmattkc
2020-02-26 00:39:30 +11:00
parent 78daf9e28a
commit bf7fc9a0c4
11 changed files with 86 additions and 1 deletions
+4 -1
View File
@@ -26,9 +26,12 @@ TimelinePanel::TimelinePanel(QWidget *parent) :
// FIXME: This won't work if there's ever more than one of this panel
setObjectName("TimelinePanel");
SetTimeBasedWidget(new TimelineWidget());
TimelineWidget* tw = new TimelineWidget();
SetTimeBasedWidget(tw);
Retranslate();
connect(tw, &TimelineWidget::SelectionChanged, this, &TimelinePanel::SelectionChanged);
}
void TimelinePanel::Clear()