mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 11:05:09 +00:00
TextEditor+Base: Add an icon for the "Find" action :^)
This commit is contained in:
parent
ff72b4d475
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