Fix file history save order

This commit is contained in:
Jon Evans 2020-02-21 08:12:53 -05:00
parent fcdf2bac0b
commit ad3e99f933
1 changed files with 1 additions and 2 deletions

View File

@ -65,8 +65,7 @@ void FILE_HISTORY::Save( APP_SETTINGS_BASE& aSettings )
aSettings.m_System.file_history.clear();
for( const auto& file : m_fileHistory )
aSettings.m_System.file_history.insert( aSettings.m_System.file_history.begin(),
file.ToStdString() );
aSettings.m_System.file_history.emplace_back( file.ToStdString() );
}