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
c9d917a4
Commit
c9d917a4
authored
Jun 09, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix disable clip broken regression.
Fixes
#239
parent
5dc6935a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/timeline2/model/clipmodel.cpp
View file @
c9d917a4
...
...
@@ -560,6 +560,8 @@ Fun ClipModel::setClipState_lambda(PlaylistState::ClipState state)
return
[
this
,
state
]()
{
if
(
auto
ptr
=
m_parent
.
lock
())
{
m_currentState
=
state
;
// Enforce producer reload
m_lastTrackId
=
-
1
;
if
(
m_currentTrackId
!=
-
1
&&
ptr
->
isClip
(
m_id
))
{
// if this is false, the clip is being created. Don't update model in that case
refreshProducerFromBin
(
m_currentState
);
QModelIndex
ix
=
ptr
->
makeClipIndexFromID
(
m_id
);
...
...
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