timeline gets updated when tracks are added and removed

This commit is contained in:
itsmattkc
2019-08-18 18:29:35 +10:00
parent c68e879d47
commit 9ccf2610c8
5 changed files with 93 additions and 19 deletions
+7
View File
@@ -106,6 +106,13 @@ void TrackOutput::GenerateBlockWidgets()
}
}
void TrackOutput::DestroyBlockWidgets()
{
foreach (Block* block, block_cache_) {
emit BlockRemoved(block);
}
}
TrackOutput *TrackOutput::next_track()
{
return ValueToPtr<TrackOutput>(track_input_->get_value(0));