viewer: allow switching open sequences

This commit is contained in:
itsmattkc
2020-03-21 22:18:17 +11:00
parent 3c3543a2a9
commit 51f02ea01b
19 changed files with 207 additions and 70 deletions
+2 -1
View File
@@ -35,6 +35,7 @@
#include "node/input/media/video/video.h"
#include "project/item/sequence/sequence.h"
#include "widget/nodeview/nodeviewundo.h"
#include "window/mainwindow/mainwindow.h"
Timeline::TrackType TrackTypeFromStreamType(Stream::Type stream_type)
{
@@ -433,6 +434,6 @@ void TimelineWidget::ImportTool::DropGhosts(bool insert)
dragged_footage_.clear();
if (open_sequence) {
Sequence::Open(open_sequence);
Core::instance()->main_window()->OpenSequence(open_sequence);
}
}