summaryrefslogtreecommitdiff
path: root/UCore.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-09-24 10:13:30 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-09-24 10:13:30 +0200
commit4e24fb845acd4a1fc6a772749eceb08129acaf08 (patch)
tree7ef84f3c0157b9a2d17374e2a4750a85cef4ec56 /UCore.pas
parent71294c99aa628f487d2094c101ecdf1ea829b3e1 (diff)
downloadtuxcmd-4e24fb845acd4a1fc6a772749eceb08129acaf08.tar.xz
Remember relative path checkbox state from the symlink dialog
Diffstat (limited to 'UCore.pas')
-rw-r--r--UCore.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/UCore.pas b/UCore.pas
index 416bd45..deccbb1 100644
--- a/UCore.pas
+++ b/UCore.pas
@@ -2192,8 +2192,10 @@ begin
AFSymlink.ToEntry.Text := StrToUTF8(PossibleNewName);
AFSymlink.ToEntry.SetFocus;
AFSymlink.ToEntry.SelectAll;
+ AFSymLink.RelativeCheckButton.Checked := ConfMakeSymlinkRelative;
if AFSymlink.Run = mbOK then Result := HandleCreateSymlink(UTF8ToStr(AFSymlink.FromEntry.Text),
ProcessPattern(Engine, UTF8ToStr(AFSymlink.ToEntry.Text), Engine.Path, '', False));
+ if Result then ConfMakeSymlinkRelative := AFSymLink.RelativeCheckButton.Checked;
finally
AFSymlink.Free;
end;