mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
TextEditor+Base: Add an icon for the "Find" action :^)
This commit is contained in:
parent
ff72b4d475
commit
9d2c4d223a
Notes:
sideshowbarker
2024-07-19 12:07:21 +09:00
Author: https://github.com/awesomekling
Commit: 9d2c4d223a
2 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ TextEditorWidget::TextEditorWidget()
|
|||
m_editor->set_focus(true);
|
||||
};
|
||||
|
||||
m_find_action = GAction::create("Find...", { Mod_Ctrl, Key_F }, [this](auto&) {
|
||||
m_find_action = GAction::create("Find...", { Mod_Ctrl, Key_F }, load_png("/res/icons/16x16/find.png"), [this](auto&) {
|
||||
m_find_widget->set_visible(true);
|
||||
m_find_textbox->set_focus(true);
|
||||
m_find_textbox->select_all();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue