FIX: Undo/redo delete/add page

Now we can undo adding or deleting worksheets
This commit is contained in:
Nicolás Hatcher
2025-02-05 21:43:20 +01:00
committed by Nicolás Hatcher Andrés
parent d866e283e9
commit dc8bb6da21
6 changed files with 102 additions and 20 deletions

View File

@@ -25,9 +25,6 @@ fn add_undo_redo() {
assert_eq!(model.get_formatted_cell_value(2, 1, 1), Ok("6".to_string()));
model.delete_sheet(1).unwrap();
assert!(!model.can_undo());
assert!(!model.can_redo());
}
#[test]