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

Fix mixers don't display levels if a track was added/removed with collapsed mixer

parent b0b13930
Pipeline #177704 passed with stage
in 6 minutes and 25 seconds
......@@ -108,7 +108,9 @@ void MixerManager::registerTrack(int tid, std::shared_ptr<Mlt::Tractor> service,
m_channelsLayout->insertWidget(0, line);
m_channelsLayout->insertWidget(0, mixer.get());
m_recommendedWidth = (mixer->minimumWidth() + 12 + line->minimumWidth()) * (qMin(2, int(m_mixers.size())));
m_channelsBox->setMinimumWidth(m_recommendedWidth);
if (!KdenliveSettings::mixerCollapse()) {
m_channelsBox->setMinimumWidth(m_recommendedWidth);
}
}
void MixerManager::deregisterTrack(int tid)
......
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