From d3060a97b68636ee3143ec1c02bbaaf3f3549131 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 2 Sep 2018 23:21:51 +0200 Subject: Windows: fix regression when language selected in the setup during fresh install and that caused VeraCrypt background task to be disabled. --- src/Mount/Mount.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Mount/Mount.c') diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index 7b42bc4b..a1543b61 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -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 (); -- cgit v1.2.3