Commit bc85fb4d authored by Nicolas Carion's avatar Nicolas Carion

fix mistake in previous commit

parent 1f06a986
Pipeline #3647 passed with stage
in 14 minutes and 47 seconds
......@@ -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]() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment