Commit eef8f05a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix creating guides from project notes

parent 154812c8
Pipeline #155193 passed with stage
in 7 minutes and 7 seconds
......@@ -75,7 +75,11 @@ void NotesWidget::createMarker(const QStringList &anchors)
clipMarkers.insert(binId, timecodes);
} else {
// That is a guide
guides << anchor.toInt();
if (anchor.contains(QLatin1Char('?'))) {
guides << anchor.section(QLatin1Char('?'), 0, 0).toInt();
} else {
guides << anchor.toInt();
}
}
}
QMapIterator<QString, QList<int>> i(clipMarkers);
......
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