aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2015-12-09 23:53:40 +0100
committerJean-Baptiste Mardelle <[email protected]>2015-12-09 23:53:40 +0100
commitfffb765c743780db75cdd24f644bceaf2b4f8415 (patch)
tree552d42614c65f0786883b2f85db706587555faac
parentb1a3da443d540cf50a611a4df10e90cc9ebfa2cd (diff)
Fix thumbnail not updating after editing title clipv15.12.0
-rw-r--r--src/bin/projectclip.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/projectclip.cpp b/src/bin/projectclip.cpp
index 7955310..60bb89e 100644
--- a/src/bin/projectclip.cpp
+++ b/src/bin/projectclip.cpp
@@ -511,7 +511,6 @@ void ProjectClip::setProperties(QMap <QString, QString> properties, bool refresh
{
QMapIterator<QString, QString> i(properties);
QMap <QString, QString> passProperties;
- bool refreshProducer = false;
bool refreshAnalysis = false;
bool reload = false;
// Some properties also need to be passed to track producers
@@ -553,10 +552,10 @@ void ProjectClip::setProperties(QMap <QString, QString> properties, bool refresh
if (m_type != Color) {
reloadProducer();
}
- reload = true;
+ else reload = true;
}
if (properties.contains("xmldata") || !passProperties.isEmpty()) {
- refreshProducer = true;
+ reload = true;
}
if (refreshAnalysis) emit refreshAnalysisPanel();
if (properties.contains("length")) {
@@ -572,7 +571,7 @@ void ProjectClip::setProperties(QMap <QString, QString> properties, bool refresh
// Some of the clip properties have changed through a command, update properties panel
emit refreshPropertiesPanel();
}
- if (refreshProducer || reload) {
+ if (reload) {
// producer has changed, refresh monitor and thumbnail
if (reload) reloadProducer(true);
bin()->refreshClip(m_id);