mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix merge_undoable_ops() not updating counter
This commit is contained in:
parent
9b41d8d786
commit
cafa99f239
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ impl UndoManager {
|
|||
for step in removed.into_iter().rev() {
|
||||
target.changes.extend(step.changes.into_iter());
|
||||
}
|
||||
|
||||
self.counter = starting_from;
|
||||
Ok(OpChanges {
|
||||
op: target.kind.clone(),
|
||||
changes: StateChanges::from(&target.changes[..]),
|
||||
|
|
|
|||
Loading…
Reference in a new issue