diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-11-20 15:22:01 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-11-21 11:49:06 +0000 |
commit | f22c0ffe0c5318e87a68142add4bd981baf5b13d (patch) | |
tree | c447995dac892144559ebccd8a9c7a6cccaf937a /Userland/Applications/Spreadsheet | |
parent | 06f140a025dd24d268ea798474813ad4daa49b37 (diff) | |
download | serenity-f22c0ffe0c5318e87a68142add4bd981baf5b13d.zip |
LibGUI+Everywhere: Make sync requests to Clipboard server more obvious
Diffstat (limited to 'Userland/Applications/Spreadsheet')
-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 93dd864494..95272b8fb2 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp +++ b/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp @@ -170,7 +170,7 @@ SpreadsheetWidget::SpreadsheetWidget(NonnullRefPtrVector<Sheet>&& sheets, bool s auto& sheet = *worksheet_ptr; auto& cells = sheet.selected_cells(); VERIFY(!cells.is_empty()); - const auto& data = GUI::Clipboard::the().data_and_type(); + const auto& data = GUI::Clipboard::the().fetch_data_and_type(); if (auto spreadsheet_data = data.metadata.get("text/x-spreadsheet-data"); spreadsheet_data.has_value()) { Vector<Spreadsheet::Position> source_positions, target_positions; auto lines = spreadsheet_data.value().split_view('\n'); |