Skip to content
GitLab
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
d0b74cdd
Commit
d0b74cdd
authored
Jan 31, 2020
by
Jean-Baptiste Mardelle
Browse files
Filter effects in current category only.
Related to
#541
parent
78f8880a
Pipeline
#14261
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/effects/effectlist/model/effectfilter.cpp
View file @
d0b74cdd
...
...
@@ -68,7 +68,10 @@ bool EffectFilter::filterType(const std::shared_ptr<TreeItem> &item) const
bool
EffectFilter
::
applyAll
(
std
::
shared_ptr
<
TreeItem
>
item
)
const
{
if
(
!
m_name_value
.
isEmpty
())
{
return
filterName
(
item
);
if
(
m_type_value
==
EffectType
::
Preferred
)
{
return
filterName
(
item
);
}
return
filterType
(
item
)
&&
filterName
(
item
);
}
else
{
return
filterType
(
item
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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