TextEditor+Base: Add an icon for the "Find" action :^)

This commit is contained in:
Andreas Kling 2019-09-13 23:56:37 +02:00
parent ff72b4d475
commit 9d2c4d223a
Notes: sideshowbarker 2024-07-19 12:07:21 +09:00
2 changed files with 1 additions and 1 deletions

View file

@ -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();

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B