summaryrefslogtreecommitdiff
path: root/UConfig.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-06-08 12:30:50 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-06-08 12:30:50 +0200
commitf76f41f52efd450a31017158ddd2e576cdfeb89a (patch)
tree036934d740a82969797712b070b477f0b35f2ad6 /UConfig.pas
parent43eab6179b5c8d5ce265fcada4cafbee53054f88 (diff)
downloadtuxcmd-f76f41f52efd450a31017158ddd2e576cdfeb89a.tar.xz
Fix crash when saving settings to read-only homedir
Diffstat (limited to 'UConfig.pas')
-rw-r--r--UConfig.pas1
1 files changed, 1 insertions, 0 deletions
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