From f76f41f52efd450a31017158ddd2e576cdfeb89a Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 8 Jun 2008 12:30:50 +0200 Subject: Fix crash when saving settings to read-only homedir --- UConfig.pas | 1 + 1 file changed, 1 insertion(+) (limited to 'UConfig.pas') diff --git a/UConfig.pas b/UConfig.pas index b662f58..31105c9 100644 --- a/UConfig.pas +++ b/UConfig.pas @@ -384,6 +384,7 @@ procedure ReadMainGUISettings; var s: string; IniFile: TMyIniFile; begin + SearchForDefaultApps; try s := IncludeTrailingPathDelimiter(GetHomePath) + ConfDefaultSettingsDir; if not DirectoryExists(s) then -- cgit v1.2.3