TextEditor: Add "Find Previous" 16x16 icon

This commit is contained in:
Brendan Coles 2020-04-22 14:45:15 +00:00 committed by Andreas Kling
parent a1b820b11c
commit 9ab4a8179a
Notes: sideshowbarker 2024-07-19 07:23:41 +09:00
2 changed files with 1 additions and 1 deletions

View file

@ -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(); auto needle = m_find_textbox->text();
if (needle.is_empty()) { if (needle.is_empty()) {
dbg() << "find_prev(\"\")"; dbg() << "find_prev(\"\")";

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B