FIX: [STUDIO-2608] recent project not open starting from number 10
Change-Id: I9e867f26342993cae7a98d6e8b61e9c21b4f434c
This commit is contained in:
parent
187718890f
commit
56b9d0fbb3
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue