summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorBrendan Coles <bcoles@gmail.com>2020-04-22 14:45:15 +0000
committerAndreas Kling <kling@serenityos.org>2020-04-22 17:14:36 +0200
commit9ab4a8179a44b8089b10bafca3d8fe96bef8ade9 (patch)
tree42f14007092dc96c023a8a416f97b5a753cc692a /Applications
parenta1b820b11ca5f8c4134972de82f85b0f00fd6127 (diff)
downloadserenity-9ab4a8179a44b8089b10bafca3d8fe96bef8ade9.zip
TextEditor: Add "Find Previous" 16x16 icon
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 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(\"\")";