summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
Diffstat (limited to 'Applications')
-rw-r--r--Applications/Spreadsheet/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Spreadsheet/main.cpp b/Applications/Spreadsheet/main.cpp
index 8233f356aa..a9adb3676f 100644
--- a/Applications/Spreadsheet/main.cpp
+++ b/Applications/Spreadsheet/main.cpp
@@ -191,7 +191,7 @@ int main(int argc, char* argv[])
},
window));
edit_menu.add_action(GUI::CommonActions::make_paste_action([&](auto&) {
- ScopeGuard update_after_paste { [&] { spreadsheet_widget.current_worksheet().update(); } };
+ ScopeGuard update_after_paste { [&] { spreadsheet_widget.update(); } };
auto& cells = spreadsheet_widget.current_worksheet().selected_cells();
ASSERT(!cells.is_empty());