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
17e85bcf
Commit
17e85bcf
authored
Mar 29, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix project duration not updated on bin clip deletion.
Fixes
#1383
parent
3be2b286
Pipeline
#156365
passed with stage
in 8 minutes and 26 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
17e85bcf
...
@@ -1816,7 +1816,7 @@ bool ProjectClip::selfSoftDelete(Fun &undo, Fun &redo)
...
@@ -1816,7 +1816,7 @@ bool ProjectClip::selfSoftDelete(Fun &undo, Fun &redo)
}
}
if
(
auto
timeline
=
clip
.
second
.
lock
())
{
if
(
auto
timeline
=
clip
.
second
.
lock
())
{
timeline
->
requestClipUngroup
(
clip
.
first
,
undo
,
redo
);
timeline
->
requestClipUngroup
(
clip
.
first
,
undo
,
redo
);
timeline
->
requestItemDeletion
(
clip
.
first
,
undo
,
redo
);
timeline
->
requestItemDeletion
(
clip
.
first
,
undo
,
redo
,
true
);
}
else
{
}
else
{
qDebug
()
<<
"Error while deleting clip: timeline unavailable"
;
qDebug
()
<<
"Error while deleting clip: timeline unavailable"
;
Q_ASSERT
(
false
);
Q_ASSERT
(
false
);
...
...
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