timeline: ensure tentative subtitle command is taken when dropping onto null

This commit is contained in:
itsmattkc
2022-05-16 09:06:49 -07:00
parent 99d9be43ad
commit 7ab3350c59
@@ -384,6 +384,10 @@ void ImportTool::DropGhosts(bool insert)
FootageToGhosts(0, dragged_footage_, new_sequence->GetVideoParams().time_base(), 0);
if (MultiUndoCommand *c = parent()->TakeSubtitleSectionCommand()) {
command->add_child(c);
}
sequence = new_sequence;
// Set this as the sequence to open