timeline: skip SetSelections if no node is available

Fixes #2020
This commit is contained in:
itsmattkc
2022-09-01 12:53:38 -07:00
parent cdadb6a030
commit 81b42779fc
@@ -1855,6 +1855,10 @@ void TimelineWidget::SetSelections(const TimelineWidgetSelections &s, bool proce
return;
}
if (!GetConnectedNode()) {
return;
}
if (process_block_changes) {
QVector<Block*> deselected;
QVector<Block*> selected;