From 9d2c4d223a9eb0c9cbe488f7f36e42c8d84b1578 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 13 Sep 2019 23:56:37 +0200 Subject: [PATCH] TextEditor+Base: Add an icon for the "Find" action :^) --- Applications/TextEditor/TextEditorWidget.cpp | 2 +- Base/res/icons/16x16/find.png | Bin 0 -> 290 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Base/res/icons/16x16/find.png diff --git a/Applications/TextEditor/TextEditorWidget.cpp b/Applications/TextEditor/TextEditorWidget.cpp index 6cb7c98fff..93f6347dcd 100644 --- a/Applications/TextEditor/TextEditorWidget.cpp +++ b/Applications/TextEditor/TextEditorWidget.cpp @@ -98,7 +98,7 @@ TextEditorWidget::TextEditorWidget() m_editor->set_focus(true); }; - m_find_action = GAction::create("Find...", { Mod_Ctrl, Key_F }, [this](auto&) { + m_find_action = GAction::create("Find...", { Mod_Ctrl, Key_F }, load_png("/res/icons/16x16/find.png"), [this](auto&) { m_find_widget->set_visible(true); m_find_textbox->set_focus(true); m_find_textbox->select_all(); diff --git a/Base/res/icons/16x16/find.png b/Base/res/icons/16x16/find.png new file mode 100644 index 0000000000000000000000000000000000000000..2bb27d6238f5e1e1277abd99477a076973f1b001 GIT binary patch literal 290 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7UV6GXhFF}wJLzohVFMnw z`Ts6C?(z`#n7HPWqE)Z#{G9h;fq$wDge*AkEP1ikMsU#&2RqFI`KYIj?1FjH#|sbL z6?{~?zn;TN+@x1{XNpsYM_)|H>X6kk{KtJg_Nk}_dnq36V7bOK{qZOH@Q#LOm1;{} zG-uvD-4|n|sT$=1zg+1F<`-!*VB9)Hp4w4SnL*A-J=^@~qU=o^QV uUQ-zFubS$=rcd~O@hjFd#?-#fx9FIAZ~Nr^I~W)k7(8A5T-G@yGywpvV0Wqj literal 0 HcmV?d00001