浏览代码

TextEditor: Add "Find Previous" 16x16 icon

Brendan Coles 5 年之前
父节点
当前提交
9ab4a8179a
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Applications/TextEditor/TextEditorWidget.cpp
  2. 二进制
      Base/res/icons/16x16/find-previous.png

+ 1 - 1
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(\"\")";

二进制
Base/res/icons/16x16/find-previous.png