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 authored and GitHub committed 2025-08-24 00:24:30 +08:00
1 parent 5ebb490a8d
commit 5fa35342fd
4 files changed
+21 -3

No files matched your search

+1 -1
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;