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: https://github.com/SerenityOS/serenity/commit/9d2c4d223a9
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();
|
||||
|
|
BIN
Base/res/icons/16x16/find.png
Normal file
BIN
Base/res/icons/16x16/find.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 290 B |
Loading…
Add table
Reference in a new issue