mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
TextEditor: Add "Find Previous" 16x16 icon
This commit is contained in:
committed by
Andreas Kling
parent
a1b820b11c
commit
9ab4a8179a
@@ -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(\"\")";
|
||||
|
||||
Reference in New Issue
Block a user