Browse Source

refresh view when reloading a database

sabrogden 6 years ago
parent
commit
d7c23c535b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      DatabaseUtilities.cpp

+ 2 - 0
DatabaseUtilities.cpp

@@ -638,6 +638,8 @@ BOOL RestoreDB(CString backupPath)
 
 
 	Log(StrF(_T("Done restoring db, from: %s, error: %s"), backupPath, errorMessage));
 	Log(StrF(_T("Done restoring db, from: %s, error: %s"), backupPath, errorMessage));
 
 
+	theApp.RefreshView();
+
 	return ret;
 	return ret;
 }
 }