mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03:00
HackStudio: Add icon to "Open Recent"
This commit adds the newly added "open-recent" icon to HackStudio.
This commit is contained in:
parent
4813bd5274
commit
f0ac1bcaf8
Notes:
sideshowbarker
2024-07-17 18:05:22 +09:00
Author: https://github.com/xslendix Commit: https://github.com/SerenityOS/serenity/commit/f0ac1bcaf8 Pull-request: https://github.com/SerenityOS/serenity/pull/12818 Reviewed-by: https://github.com/linusg
@ -1206,6 +1206,7 @@ void HackStudioWidget::create_file_menu(GUI::Window& window)
|
||||
file_menu.add_action(*m_new_project_action);
|
||||
file_menu.add_action(*m_open_action);
|
||||
m_recent_projects_submenu = &file_menu.add_submenu("Open Recent");
|
||||
m_recent_projects_submenu->set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/open-recent.png").release_value_but_fixme_should_propagate_errors());
|
||||
update_recent_projects_submenu();
|
||||
file_menu.add_action(*m_save_action);
|
||||
file_menu.add_action(*m_save_as_action);
|
||||
|
Loading…
Reference in New Issue
Block a user