diff options
author | Brendan Coles <bcoles@gmail.com> | 2020-04-22 14:45:15 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-22 17:14:36 +0200 |
commit | 9ab4a8179a44b8089b10bafca3d8fe96bef8ade9 (patch) | |
tree | 42f14007092dc96c023a8a416f97b5a753cc692a | |
parent | a1b820b11ca5f8c4134972de82f85b0f00fd6127 (diff) | |
download | serenity-9ab4a8179a44b8089b10bafca3d8fe96bef8ade9.zip |
TextEditor: Add "Find Previous" 16x16 icon
-rw-r--r-- | Applications/TextEditor/TextEditorWidget.cpp | 2 | ||||
-rw-r--r-- | Base/res/icons/16x16/find-previous.png | bin | 0 -> 514 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/Applications/TextEditor/TextEditorWidget.cpp b/Applications/TextEditor/TextEditorWidget.cpp index d824b9cf2b..994b13f703 100644 --- a/Applications/TextEditor/TextEditorWidget.cpp +++ b/Applications/TextEditor/TextEditorWidget.cpp @@ -117,7 +117,7 @@ TextEditorWidget::TextEditorWidget() } }); - m_find_previous_action = GUI::Action::create("Find previous", { Mod_Ctrl | Mod_Shift, Key_G }, [&](auto&) { + m_find_previous_action = GUI::Action::create("Find previous", { Mod_Ctrl | Mod_Shift, Key_G }, Gfx::Bitmap::load_from_file("/res/icons/16x16/find-previous.png"), [&](auto&) { auto needle = m_find_textbox->text(); if (needle.is_empty()) { dbg() << "find_prev(\"\")"; diff --git a/Base/res/icons/16x16/find-previous.png b/Base/res/icons/16x16/find-previous.png Binary files differnew file mode 100644 index 0000000000..72e4eb8e8f --- /dev/null +++ b/Base/res/icons/16x16/find-previous.png |