Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
ee7a06a3
Commit
ee7a06a3
authored
May 17, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/audiomixer/mixermanager.cpp
View file @
ee7a06a3
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment