Fix bug in undoing merges

Jessica B. Hamrick 10 years ago
parent 3438604ac9
commit 7c4d6908d7

@ -1027,6 +1027,13 @@ define(function (require) {
this.select(cursor_ix_after);
}
// Check if the cells were after the cursor
for (var i=0; i < indices.length; i++) {
if (indices[i] > cursor_ix_before) {
this.undelete_below = true;
}
}
// This will put all the deleted cells back in one location, rather than
// where they came from. It will do until we have proper undo support.
this.undelete_index = cursor_ix_after;

Loading…
Cancel
Save