Audio tracks should not display image

parent b1d58c30
......@@ -499,6 +499,11 @@ void TrackModel::setProperty(const QString &name, const QString &value)
{
QWriteLocker locker(&m_lock);
m_track->set(name.toUtf8().constData(), value.toUtf8().constData());
if (name == QLatin1String("kdenlive:audio_track") && value.toInt() == 1) {
for (int i = 0; i < 2; i++) {
m_playlists[i].set("hide", 1);
}
}
}
bool TrackModel::checkConsistency()
......
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