From 9ab4a8179a44b8089b10bafca3d8fe96bef8ade9 Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Wed, 22 Apr 2020 14:45:15 +0000 Subject: [PATCH] TextEditor: Add "Find Previous" 16x16 icon --- Applications/TextEditor/TextEditorWidget.cpp | 2 +- Base/res/icons/16x16/find-previous.png | Bin 0 -> 514 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Base/res/icons/16x16/find-previous.png diff --git a/Applications/TextEditor/TextEditorWidget.cpp b/Applications/TextEditor/TextEditorWidget.cpp index d824b9cf2b2..994b13f703c 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 new file mode 100644 index 0000000000000000000000000000000000000000..72e4eb8e8f4cb5be036c9ac735fe9f28d538f023 GIT binary patch literal 514 zcmV+d0{#7oP)aZ*fJ+fSVZdForuf{?i`h69k|fwDLKS@Qhzg=|QStpF zuiFQR0Nrl4SZhg=n7dDR#7T^`7HciWM7+MdG`+bXsJ~Q8xq6ms0E}rhvXoCX-3s%qc&%P61yyR0I=6s3@XB z@B!!j1>oGk=6n@kxm+Tms7h6t*KbceXZKf_Y%%}WL4P_k*E?evo&W#<07*qoM6N<$ Eg3J@z