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 6cb7c98fff6..93f6347dcd0 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 zcmV+-0p0$IP)+(m}dN7f6w;(jhvH9iMFPR#E(VFcLTk+@$EOJQ1S!Kt3sOA6n&s2N7-? z$8o~l5#oKne+W7kG>sFvWI~8Yj$Bl$RI3~h$4yASBqdWyA;pLU)(n^9@*h`-faZB7 zr9>&2-OG+#GASieN`w$O_5H1zE5M~BEt6_>Hvoifml?pkky^v5EdnK4YnZiV4flty zpm7>0xe#N(UAQ||ZIO6