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
84d2fe9a
Commit
84d2fe9a
authored
Nov 27, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix snapping not updated when track is made active/inactive
Fixes
#852
parent
ba457245
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/timelinecontroller.cpp
View file @
84d2fe9a
...
...
@@ -2571,6 +2571,7 @@ void TimelineController::switchTrackActive(int trackId)
}
bool
active
=
m_model
->
getTrackById_const
(
trackId
)
->
isTimelineActive
();
m_model
->
setTrackProperty
(
trackId
,
QStringLiteral
(
"kdenlive:timeline_active"
),
active
?
QStringLiteral
(
"0"
)
:
QStringLiteral
(
"1"
));
m_activeSnaps
.
clear
();
}
void
TimelineController
::
switchAllTrackActive
()
...
...
@@ -2582,6 +2583,7 @@ void TimelineController::switchAllTrackActive()
m_model
->
setTrackProperty
(
target_track
,
QStringLiteral
(
"kdenlive:timeline_active"
),
active
?
QStringLiteral
(
"0"
)
:
QStringLiteral
(
"1"
));
++
it
;
}
m_activeSnaps
.
clear
();
}
void
TimelineController
::
makeAllTrackActive
()
...
...
@@ -2603,6 +2605,7 @@ void TimelineController::makeAllTrackActive()
m_model
->
setTrackProperty
(
target_track
,
QStringLiteral
(
"kdenlive:timeline_active"
),
makeActive
?
QStringLiteral
(
"1"
)
:
QStringLiteral
(
"0"
));
++
it
;
}
m_activeSnaps
.
clear
();
}
void
TimelineController
::
switchTrackLock
(
bool
applyToAll
)
...
...
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