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/Format/Tcformat.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Format/Tcformat.c') diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index ccdd682c..46ad2083 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -6060,6 +6060,11 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa 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); + LoadDefaultKeyFilesParam (); RestoreDefaultKeyFilesParam (); -- cgit v1.2.3