From 3bce63a0c4f43f746f3d04b280c85e6fda0eb73b Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 28 May 2021 17:59:21 +1000 Subject: [PATCH] mainwindow: select blocks and deps when setting node view context --- app/window/mainwindow/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/window/mainwindow/mainwindow.cpp b/app/window/mainwindow/mainwindow.cpp index 4acd6a562..573220973 100644 --- a/app/window/mainwindow/mainwindow.cpp +++ b/app/window/mainwindow/mainwindow.cpp @@ -731,6 +731,9 @@ void MainWindow::UpdateNodePanelContextFromTimelinePanel(TimelinePanel *panel) } node_panel_->SetGraph(viewer ? viewer->parent() : nullptr, context); + if (viewer) { + node_panel_->SelectWithDependencies(context); + } } void MainWindow::FocusedPanelChanged(PanelWidget *panel)