Commit 534cfb9b authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Merge branch '2004'

parents 4d74e3c4 ec3dd321
Pipeline #20558 failed with stage
in 2 minutes and 19 seconds
......@@ -2819,7 +2819,11 @@ void TimelineController::updateClipActions()
} else if (actionData == QLatin1Char('U')) {
enableAction = m_model->m_groups->isInGroup(item);
} else if (actionData == QLatin1Char('A')) {
enableAction = clip && clip->clipState() == PlaylistState::AudioOnly;
if (m_model->m_groups->isInGroup(item) && m_model->m_groups->getType(m_model->m_groups->getRootId(item)) == GroupType::AVSplit) {
enableAction = true;
} else {
enableAction = clip && clip->clipState() == PlaylistState::AudioOnly;
}
} else if (actionData == QLatin1Char('V')) {
enableAction = clip && clip->clipState() == PlaylistState::VideoOnly;
} else if (actionData == QLatin1Char('D')) {
......
Markdown is supported
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