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
This commit is contained in:
wp_xxyyzz
2018-08-17 19:25:15 +00:00
parent e3e882ce59
commit 0113387c6f

View File

@ -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;