Fix recent crash in compositions

parent adc608c2
......@@ -98,6 +98,9 @@ const QString TimelineController::getTrackName(int trackId)
if (trackId == -1) {
return i18n("unknown");
}
if (trackId == 0) {
return i18n("Black");
}
return m_model->getTrackById(trackId)->getProperty("kdenlive:track_name").toString();
}
......
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