summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-13 23:56:37 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-13 23:56:37 +0200
commit9d2c4d223a9eb0c9cbe488f7f36e42c8d84b1578 (patch)
treea887bcb55f320475dc04bdde3a95a261925e69db /Applications
parentff72b4d475d8e80bab7859996749eee0b8080146 (diff)
downloadserenity-9d2c4d223a9eb0c9cbe488f7f36e42c8d84b1578.zip
TextEditor+Base: Add an icon for the "Find" action :^)
Diffstat (limited to 'Applications')
-rw-r--r--Applications/TextEditor/TextEditorWidget.cpp2
1 files changed, 1 insertions, 1 deletions
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();