mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 01:44:58 +00:00
TextEditor: Add "Find Previous" 16x16 icon
This commit is contained in:
parent
a1b820b11c
commit
9ab4a8179a
2 changed files with 1 additions and 1 deletions
|
@ -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(\"\")";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue