Skip to content

Commit 972f0a7

Browse files
committed
Ensure start/stop recording is triggered for editors on state changes
1 parent 7d8c513 commit 972f0a7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Source/Processors/ProcessorGraph/ProcessorGraph.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,14 @@ void ProcessorGraph::setRecordState (bool isRecording)
18241824
p->startRecording();
18251825
else
18261826
p->stopRecording();
1827+
1828+
if (auto editor = p->getEditor())
1829+
{
1830+
if (isRecording)
1831+
editor->startRecording();
1832+
else
1833+
editor->stopRecording();
1834+
}
18271835
}
18281836
}
18291837
}

0 commit comments

Comments
 (0)