Bladeren bron

TextEditor: Add "Find Previous" 16x16 icon

Brendan Coles 5 jaren geleden
bovenliggende
commit
9ab4a8179a
2 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      Applications/TextEditor/TextEditorWidget.cpp
  2. BIN
      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(\"\")";

BIN
Base/res/icons/16x16/find-previous.png