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
1790aaf3
Commit
1790aaf3
authored
Nov 13, 2021
by
Jean-Baptiste Mardelle
Browse files
Hide audio mix from transitions list in same track and composition stack
parent
a3a5582b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/assets/assetpanel.cpp
View file @
1790aaf3
...
...
@@ -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
)
{
...
...
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