Skip to content

Commit

Permalink
HackStudio: Add icon for the Find action
Browse files Browse the repository at this point in the history
  • Loading branch information
xTibor authored and awesomekling committed Mar 30, 2020
1 parent c7f3d72 commit f221771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DevTools/HackStudio/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}));
Expand Down

0 comments on commit f221771

Please sign in to comment.