flush in SaveAllToDir, instead of CreateNewProfile

This commit is contained in:
Glenn Maynard
2005-08-13 01:32:50 +00:00
parent 18911711c4
commit 828c44f299
+2 -1
View File
@@ -892,6 +892,8 @@ bool Profile::SaveAllToDir( CString sDir, bool bSignData ) const
FILEMAN->CreateDir( sDir + EDIT_COURSES_SUBDIR );
FILEMAN->CreateDir( sDir + SCREENSHOTS_SUBDIR );
FlushDirCache();
return bSaved;
}
@@ -1901,7 +1903,6 @@ Profile *Profile::CreateNewProfile( CString sProfileDir, CString sName, bool bFi
return NULL;
}
FlushDirCache();
return pProfile;
}