mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user