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
433a5469
Commit
433a5469
authored
Jun 08, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix color clip thumbnail incorrect after changing a clip's color
parent
95056993
Pipeline
#64746
passed with stage
in 8 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
433a5469
...
...
@@ -1217,13 +1217,13 @@ void ProjectClip::setProperties(const QMap<QString, QString> &properties, bool r
// Clip source was changed, update important stuff
refreshPanel
=
true
;
reload
=
true
;
resetProducerProperty
(
QStringLiteral
(
"kdenlive:file_hash"
));
if
(
m_clipType
==
ClipType
::
Color
)
{
refreshOnly
=
true
;
updateRoles
<<
TimelineModel
::
ResourceRole
;
}
else
if
(
!
properties
.
contains
(
"kdenlive:proxy"
))
{
// Clip resource changed, update thumbnail, name, clear hash
refreshOnly
=
false
;
resetProducerProperty
(
QStringLiteral
(
"kdenlive:file_hash"
));
getInfoForProducer
();
updateRoles
<<
TimelineModel
::
ResourceRole
<<
TimelineModel
::
MaxDurationRole
<<
TimelineModel
::
NameRole
;
}
...
...
Write
Preview
Markdown
is supported
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