mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
FileManager+Spreadsheet: Unify cut-copy-paste order
File Manager and Spreadsheet had an inconsistent order relative to other apps (they had a copy-cut-paste order, where every other app had a cut-copy-paste order).
This commit is contained in:
parent
cfef3040fb
commit
399be9bcc3
2 changed files with 39 additions and 39 deletions
|
@ -186,8 +186,8 @@ int main(int argc, char* argv[])
|
|||
GUI::Clipboard::the().set_data(text_builder.string_view().bytes(), "text/plain", move(metadata));
|
||||
};
|
||||
|
||||
edit_menu.add_action(GUI::CommonActions::make_copy_action([&](auto&) { clipboard_action(false); }, window));
|
||||
edit_menu.add_action(GUI::CommonActions::make_cut_action([&](auto&) { clipboard_action(true); }, window));
|
||||
edit_menu.add_action(GUI::CommonActions::make_copy_action([&](auto&) { clipboard_action(false); }, window));
|
||||
edit_menu.add_action(GUI::CommonActions::make_paste_action([&](auto&) {
|
||||
ScopeGuard update_after_paste { [&] { spreadsheet_widget.update(); } };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue