mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
TextEditor: Add "Find Next" 16x16 icon
This commit is contained in:
parent
13f806b1b0
commit
a47b9fe490
Notes:
sideshowbarker
2024-07-19 07:25:43 +09:00
Author: https://github.com/bcoles
Commit: a47b9fe490
Pull-request: https://github.com/SerenityOS/serenity/pull/1896
2 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ TextEditorWidget::TextEditorWidget()
|
|||
m_find_textbox = m_find_widget->add<GUI::TextBox>();
|
||||
m_replace_textbox = m_replace_widget->add<GUI::TextBox>();
|
||||
|
||||
m_find_next_action = GUI::Action::create("Find next", { Mod_Ctrl, Key_G }, [&](auto&) {
|
||||
m_find_next_action = GUI::Action::create("Find next", { Mod_Ctrl, Key_G }, Gfx::Bitmap::load_from_file("/res/icons/16x16/find-next.png"), [&](auto&) {
|
||||
auto needle = m_find_textbox->text();
|
||||
if (needle.is_empty()) {
|
||||
dbg() << "find_next(\"\")";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue