From 0113387c6f877849ab68b2e2fdf48077cbfa48b2 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Fri, 17 Aug 2018 19:25:15 +0000 Subject: [PATCH] jvcllaz: make JvItemViewer demo respect the last image folder stored by the OS. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6609 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/jvcllaz/examples/JvItemViewer/MainFrm.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/jvcllaz/examples/JvItemViewer/MainFrm.pas b/components/jvcllaz/examples/JvItemViewer/MainFrm.pas index 04ef51109..0db74c5bd 100644 --- a/components/jvcllaz/examples/JvItemViewer/MainFrm.pas +++ b/components/jvcllaz/examples/JvItemViewer/MainFrm.pas @@ -235,6 +235,8 @@ begin // add colors to TJvOwnerDrawViewer BuildColorList; + edDirectoryChange(nil); + { if edDirectory.Text = '' then begin // this triggers the OnChange event @@ -243,6 +245,7 @@ begin //if edDirectory.Text = '' then edDirectory.Text := GetCurrentDir; end; + } pgViewersChange(nil); end;