diff options
Diffstat (limited to 'Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp')
-rw-r--r-- | Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp b/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp index 9873868980..bf99c09810 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp +++ b/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp @@ -281,7 +281,7 @@ void SpreadsheetWidget::setup_tabs(NonnullRefPtrVector<Sheet> new_sheets) for (auto& sheet : new_sheets) { auto& new_view = m_tab_widget->add_tab<SpreadsheetView>(sheet.name(), sheet); new_view.model()->on_cell_data_change = [&](auto& cell, auto& previous_data) { - undo_stack().push(make<CellUndoCommand>(cell, previous_data)); + undo_stack().push(make<CellsUndoCommand>(cell, previous_data)); window()->set_modified(true); }; new_view.on_selection_changed = [&](Vector<Position>&& selection) { |