mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX: [STUDIO-2608] recent project not open starting from number 10
Change-Id: I9e867f26342993cae7a98d6e8b61e9c21b4f434c
This commit is contained in:
@@ -2052,7 +2052,7 @@ void MainFrame::init_menubar_as_editor()
|
||||
size_t file_id = evt.GetId() - wxID_FILE1;
|
||||
wxString filename = m_recent_projects.GetHistoryFile(file_id);
|
||||
open_recent_project(file_id, filename);
|
||||
}, wxID_FILE1, wxID_FILE9);
|
||||
}, wxID_FILE1, wxID_FILE1 + 49); // [5050, 5100)
|
||||
|
||||
std::vector<std::string> recent_projects = wxGetApp().app_config->get_recent_projects();
|
||||
std::reverse(recent_projects.begin(), recent_projects.end());
|
||||
|
||||
Reference in New Issue
Block a user