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

Fix regression crash editing marker comment

parent 4ef24fb7
......@@ -287,7 +287,7 @@ Fun MarkerListModel::changeComment_lambda(GenTime pos, const QString &comment, i
auto clipId = m_clipId;
return [guide, clipId, pos, comment, type]() {
auto model = getModel(guide, clipId);
Q_ASSERT(model->hasMarker(pos) == false);
int mid = model->getIdFromPos(pos);
int row = model->getRowfromId(mid);
Supports Markdown
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