Fix timeline preview not invalidated on hide track

parent 6b9d4d53
......@@ -481,6 +481,7 @@ void TimelineItemModel::setTrackProperty(int trackId, const QString &name, const
} else if (name == QLatin1String("hide")) {
roles.push_back(IsDisabledRole);
if (!track->isAudioTrack()) {
pCore->invalidateItem(ObjectId(ObjectType::TimelineTrack, trackId));
pCore->requestMonitorRefresh();
updateMultiTrack = true;
}
......
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