Add stl, step, etc. to recent list (#9481)

* Add stl, step, etc. to recent list

* Make configurable

* Merge branch 'main' into recent-files-pr
This commit is contained in:
Vovodroid
2025-08-23 19:24:30 +03:00
committed by GitHub
parent 5ebb490a8d
commit 5fa35342fd
4 changed files with 21 additions and 3 deletions

View File

@@ -2329,7 +2329,7 @@ void MainFrame::init_menubar_as_editor()
// Recent Project
wxMenu* recent_projects_menu = new wxMenu();
wxMenuItem* recent_projects_submenu = append_submenu(fileMenu, recent_projects_menu, wxID_ANY, _L("Recent projects"), "");
wxMenuItem* recent_projects_submenu = append_submenu(fileMenu, recent_projects_menu, wxID_ANY, _L("Recent files"), "");
m_recent_projects.UseMenu(recent_projects_menu);
Bind(wxEVT_MENU, [this](wxCommandEvent& evt) {
size_t file_id = evt.GetId() - wxID_FILE1;