mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
TextEditor: Add "Find Previous" 16x16 icon
This commit is contained in:
parent
a1b820b11c
commit
9ab4a8179a
Notes:
sideshowbarker
2024-07-19 07:23:41 +09:00
Author: https://github.com/bcoles Commit: https://github.com/SerenityOS/serenity/commit/9ab4a8179a4 Pull-request: https://github.com/SerenityOS/serenity/pull/1918
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();
|
auto needle = m_find_textbox->text();
|
||||||
if (needle.is_empty()) {
|
if (needle.is_empty()) {
|
||||||
dbg() << "find_prev(\"\")";
|
dbg() << "find_prev(\"\")";
|
||||||
|
|
BIN
Base/res/icons/16x16/find-previous.png
Normal file
BIN
Base/res/icons/16x16/find-previous.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 514 B |
Loading…
Reference in a new issue