Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
14377458
Commit
14377458
authored
Mar 24, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix regression crash editing marker comment
parent
4ef24fb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/model/markerlistmodel.cpp
View file @
14377458
...
...
@@ -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
);
Q_ASSERT
(
model
->
hasMarker
(
pos
));
int
mid
=
model
->
getIdFromPos
(
pos
);
int
row
=
model
->
getRowfromId
(
mid
);
model
->
m_markerList
[
mid
].
setComment
(
comment
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment