diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2009-10-27 10:18:23 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2009-10-27 10:18:23 +0200 |
commit | 7183c102fa6d743acee5a66de8ec7407f38dc16a (patch) | |
tree | 6e9b326a6ddb695147fdf7bfea956963cecdafc0 /src/frm_main.pas | |
parent | a95549f128263bbd5b28a79c0e93a5c1c3fe1d13 (diff) | |
download | fpGUI-7183c102fa6d743acee5a66de8ec7407f38dc16a.tar.xz |
Setting initial starting directory and using it when using open file dialog.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
Diffstat (limited to 'src/frm_main.pas')
-rw-r--r-- | src/frm_main.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frm_main.pas b/src/frm_main.pas index 256c5ece..dc4f1f99 100644 --- a/src/frm_main.pas +++ b/src/frm_main.pas @@ -716,7 +716,7 @@ var begin dlg := TfpgFileDialog.Create(nil); try - { TODO -ograemeg -cSettings : Use settings.lastopendirectory } + dlg.InitialDir := Settings.LastOpenDirectory; dlg.WindowTitle := rsDVOpenHelpFile; dlg.Filter := rsDVHelpFiles + ' (*.hlp, *.inf)|*.inf;*.hlp '; // and a catch all filter |