Fix for issue where wrong performance is selected [L] on new save.

pull/581/head
Kevin 10 months ago
parent 7c6d544008
commit 726470abfd
  1. 2
      src/performanceconfig.cpp

@ -899,7 +899,6 @@ bool CPerformanceConfig::CreateNewPerformanceFile(void)
std::string sPerformanceName = NewPerformanceName;
NewPerformanceName="";
m_nActualPerformance=m_nLastPerformance;
unsigned nNewPerformance = m_nLastPerformance + 1;
std::string nFileName;
std::string nPath;
@ -943,6 +942,7 @@ bool CPerformanceConfig::CreateNewPerformanceFile(void)
}
m_nLastPerformance = nNewPerformance;
m_nActualPerformance = nNewPerformance;
new (&m_Properties) CPropertiesFatFsFile(nFileName.c_str(), m_pFileSystem);
return true;

Loading…
Cancel
Save