Commit 1790aaf3 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Hide audio mix from transitions list in same track and composition stack

parent a3a5582b
......@@ -52,7 +52,9 @@ AssetPanel::AssetPanel(QWidget *parent)
m_switchCompoButton->setFrame(false);
auto allTransitions = TransitionsRepository::get()->getNames();
for (const auto &transition : qAsConst(allTransitions)) {
m_switchCompoButton->addItem(transition.second, transition.first);
if (transition.first != QLatin1String("mix")) {
m_switchCompoButton->addItem(transition.second, transition.first);
}
}
connect(m_switchCompoButton, static_cast<void (QComboBox::*)(int)>(&QComboBox::activated), this, [&]() {
if (m_transitionWidget->stackOwner().first == ObjectType::TimelineComposition) {
......
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