Skip to content
GitLab
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
73c88028
Commit
73c88028
authored
Jul 31, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix crash on closing project with subtitles
parent
98bc1309
Changes
1
Show whitespace changes
Inline
Side-by-side
src/timeline2/model/timelineitemmodel.cpp
View file @
73c88028
...
...
@@ -136,6 +136,9 @@ QModelIndex TimelineItemModel::makeCompositionIndexFromID(int compoId) const
void
TimelineItemModel
::
subtitleChanged
(
int
subId
,
const
QVector
<
int
>
roles
)
{
if
(
m_closing
)
{
return
;
}
Q_ASSERT
(
m_subtitleModel
!=
nullptr
);
Q_ASSERT
(
m_allSubtitles
.
count
(
subId
)
>
0
);
m_subtitleModel
->
updateSub
(
subId
,
roles
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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