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 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 new file mode 100644 index 0000000000000000000000000000000000000000..72e4eb8e8f4cb5be036c9ac735fe9f28d538f023 GIT binary patch literal 514 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7*pj^6T^Rm@;DWu&Co?cG za29w(7Bet#3xhBt!>l`z$4_#`BCWgS!)7#RCKT^vI!PPb0l-*wwT z;8^|Ysd_ugQVWtV?f9_wu7rx zd{02#@R-XAF0E5pTMt#b|C*BJY9!HT@uobS<%p-xB$XQ)PNFp*I=B`U1%CXiy#6+O z2gBXG?Gf3YlV#dA$Ci%@;cGmaG^EdnE z{ZFu9T2X#5WF23da^2q_x1Md|Yg4{w|4I8V!!oA(9xD#!7M|)~+H$zgefjOhm*2*U zTD&Qb+Pl5%LQIeJ!nt|