added ability to open viewers on any viewer node or derivative
Fixes #1362 Also fixes some other bugs that impeded this from working.
This commit is contained in:
+5
-3
@@ -396,9 +396,6 @@ void Core::CreateNewSequence()
|
||||
// Create new sequence
|
||||
Sequence* new_sequence = CreateNewSequenceForProject(active_project);
|
||||
|
||||
// Set all defaults for the sequence
|
||||
new_sequence->set_default_parameters();
|
||||
|
||||
SequenceDialog sd(new_sequence, SequenceDialog::kNew, main_window_);
|
||||
|
||||
// Make sure SequenceDialog doesn't make an undo command for editing the sequence, since we make an undo command for
|
||||
@@ -1091,6 +1088,11 @@ void Core::OpenRecoveryProject(const QString &filename)
|
||||
OpenProjectInternal(filename, true);
|
||||
}
|
||||
|
||||
void Core::OpenNodeInViewer(ViewerOutput *viewer)
|
||||
{
|
||||
main_window_->OpenNodeInViewer(viewer);
|
||||
}
|
||||
|
||||
void Core::CheckForAutoRecoveries()
|
||||
{
|
||||
QFile autorecovery_index(GetAutoRecoveryIndexFilename());
|
||||
|
||||
Reference in New Issue
Block a user