Commit 433a5469 authored by Jean-Baptiste Mardelle's avatar 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
......@@ -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;
}
......
Markdown is supported
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