Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
bc85fb4d
Commit
bc85fb4d
authored
May 19, 2019
by
Nicolas Carion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mistake in previous commit
parent
1f06a986
Pipeline
#3647
passed with stage
in 14 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/assets/keyframes/model/keyframemodel.cpp
src/assets/keyframes/model/keyframemodel.cpp
+2
-2
No files found.
src/assets/keyframes/model/keyframemodel.cpp
View file @
bc85fb4d
...
...
@@ -625,7 +625,7 @@ bool KeyframeModel::removeAllKeyframes(Fun &undo, Fun &redo)
}
// we trigger only one global remove/insertrow event
Fun
update_redo_start
=
[
this
,
kfrCount
]()
{
beginRemoveRows
(
QModelIndex
(),
1
,
1
+
kfrCount
);
beginRemoveRows
(
QModelIndex
(),
1
,
kfrCount
);
return
true
;
};
Fun
update_redo_end
=
[
this
]()
{
...
...
@@ -633,7 +633,7 @@ bool KeyframeModel::removeAllKeyframes(Fun &undo, Fun &redo)
return
true
;
};
Fun
update_undo_start
=
[
this
,
kfrCount
]()
{
beginInsertRows
(
QModelIndex
(),
1
,
1
+
kfrCount
);
beginInsertRows
(
QModelIndex
(),
1
,
kfrCount
);
return
true
;
};
Fun
update_undo_end
=
[
this
]()
{
...
...
Write
Preview
Markdown
is supported
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