diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-11-26 08:16:49 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-30 12:07:45 +0100 |
commit | 868c315e51b8322deb9cbe03cb16af22adb25651 (patch) | |
tree | 519cf25d85b37907e9df37f2a77c0fddcb92efe7 /Applications | |
parent | 113da74683d352a412834603215f6efe70310f4c (diff) | |
download | serenity-868c315e51b8322deb9cbe03cb16af22adb25651.zip |
Spreadsheet: Force-update the spreadsheet widget after pasting
Just updating the sheet will not cause a widget update.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/Spreadsheet/main.cpp | 2 |
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()); |