Reverted order of items in recent projects list

This commit is contained in:
Enrico Turri 2019-08-01 09:03:06 +02:00
parent 47c9714062
commit f913bbf8ef

View File

@ -411,6 +411,7 @@ void MainFrame::init_menubar()
}, wxID_FILE1, wxID_FILE9);
std::vector<std::string> recent_projects = wxGetApp().app_config->get_recent_projects();
std::reverse(recent_projects.begin(), recent_projects.end());
for (const std::string& project : recent_projects)
{
m_recent_projects.AddFileToHistory(from_u8(project));