1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: fix regression when language selected in the setup during fresh install and that caused VeraCrypt background task to be disabled.

This commit is contained in:
Mounir IDRASSI
2018-09-02 23:21:51 +02:00
parent 35dabf4b2c
commit d3060a97b6
4 changed files with 21 additions and 8 deletions

View File

@@ -6794,6 +6794,12 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
// General preferences
LoadSettings (hwndDlg);
// Save language to XML configuration file if it has been selected in the setup
// so that other VeraCrypt programs will pick it up
if (bLanguageSetInSetup)
SaveSettings (hwndDlg);
// Keyfiles
LoadDefaultKeyFilesParam ();
RestoreDefaultKeyFilesParam ();