Commit 708a2fc7 authored by Julius Künzel's avatar Julius Künzel
Browse files

Don't allow to toggle multitrack view if multicam tool is active

parent c41e8b48
Pipeline #80607 passed with stage
in 9 minutes and 1 second
......@@ -345,6 +345,7 @@ void MonitorManager::slotForwardOneSecond()
void MonitorManager::slotStartMultiTrackMode()
{
getAction(QStringLiteral("monitor_multitrack"))->setEnabled(false);
m_activeMultiTrack = pCore->window()->getCurrentTimeline()->controller()->activeTrack();
pCore->window()->getCurrentTimeline()->controller()->setMulticamIn(m_projectMonitor->position());
}
......@@ -354,6 +355,7 @@ void MonitorManager::slotStopMultiTrackMode()
if (m_activeMultiTrack == -1) {
return;
}
getAction(QStringLiteral("monitor_multitrack"))->setEnabled(true);
pCore->window()->getCurrentTimeline()->controller()->setMulticamIn(-1);
m_activeMultiTrack = -1;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment