Parcourir la source

save database path if database is invalid

scott brogden il y a 8 ans
Parent
commit
afdd46d922
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      DatabaseUtilities.cpp

+ 2 - 0
DatabaseUtilities.cpp

@@ -146,6 +146,8 @@ BOOL CheckDBExists(CString csDBPath)
 			csDBPath = csPath;
 			
 			bRet = CreateDB(csDBPath);
+
+			CGetSetOptions::SetDBPath(csDBPath);
 		}
 		else
 		{