mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 13:35:12 +00:00
HackStudio: Add icon for the Find action
This commit is contained in:
parent
c7f3d72a6a
commit
f221771717
Notes:
sideshowbarker
2024-07-19 08:03:19 +09:00
Author: https://github.com/xTibor Commit: https://github.com/SerenityOS/serenity/commit/f2217717174 Pull-request: https://github.com/SerenityOS/serenity/pull/1536
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ int main(int argc, char** argv)
|
|||
menubar->add_menu(move(project_menu));
|
||||
|
||||
auto edit_menu = GUI::Menu::construct("Edit");
|
||||
edit_menu->add_action(GUI::Action::create("Find in files...", { Mod_Ctrl | Mod_Shift, Key_F }, [&](auto&) {
|
||||
edit_menu->add_action(GUI::Action::create("Find in files...", { Mod_Ctrl | Mod_Shift, Key_F }, Gfx::Bitmap::load_from_file("/res/icons/16x16/find.png"), [&](auto&) {
|
||||
reveal_action_tab(find_in_files_widget);
|
||||
find_in_files_widget->focus_textbox_and_select_all();
|
||||
}));
|
||||
|
|
Loading…
Add table
Reference in a new issue