Browse Source

save database path if database is invalid

scott brogden 8 years ago
parent
commit
afdd46d922
1 changed files with 2 additions and 0 deletions
  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
 		{