diff options
author | electrikmilk <brandonjordan124@gmail.com> | 2022-02-13 14:32:10 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-02-13 21:24:46 +0000 |
commit | 62102e3130f24495c3e893946ec30b329e6f4055 (patch) | |
tree | e888302b942a6445798fb14aab1d92ed98106a63 /Userland | |
parent | adf6be45fbe6766adbf0db1b3d84ac9d639ce875 (diff) | |
download | serenity-62102e3130f24495c3e893946ec30b329e6f4055.zip |
Base+HexEditor: Add icons
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/HexEditor/HexEditorWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/HexEditor/HexEditorWidget.cpp b/Userland/Applications/HexEditor/HexEditorWidget.cpp index da3d4a1114..2c9fa88fe2 100644 --- a/Userland/Applications/HexEditor/HexEditorWidget.cpp +++ b/Userland/Applications/HexEditor/HexEditorWidget.cpp @@ -233,13 +233,13 @@ void HexEditorWidget::initialize_menubar(GUI::Window& window) } })); edit_menu.add_separator(); - edit_menu.add_action(GUI::Action::create("Copy &Hex", { Mod_Ctrl, Key_C }, [&](const GUI::Action&) { + edit_menu.add_action(GUI::Action::create("Copy &Hex", { Mod_Ctrl, Key_C }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/hex.png").release_value_but_fixme_should_propagate_errors(), [&](const GUI::Action&) { m_editor->copy_selected_hex_to_clipboard(); })); edit_menu.add_action(GUI::Action::create("Copy &Text", { Mod_Ctrl | Mod_Shift, Key_C }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/edit-copy.png").release_value_but_fixme_should_propagate_errors(), [&](const GUI::Action&) { m_editor->copy_selected_text_to_clipboard(); })); - edit_menu.add_action(GUI::Action::create("Copy as &C Code", { Mod_Alt | Mod_Shift, Key_C }, [&](const GUI::Action&) { + edit_menu.add_action(GUI::Action::create("Copy as &C Code", { Mod_Alt | Mod_Shift, Key_C }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/c.png").release_value_but_fixme_should_propagate_errors(), [&](const GUI::Action&) { m_editor->copy_selected_hex_to_clipboard_as_c_code(); })); edit_menu.add_separator(); |