ShellCtrls: fix rasing excption when changing TShellTreeView.FileSortType in designer. Issue #0036055.

git-svn-id: trunk@61823 -
This commit is contained in:
bart 2019-09-07 21:19:59 +00:00
parent e4ee709026
commit 35506f673d

View File

@ -529,7 +529,7 @@ var
begin
if FFileSortType=AValue then exit;
FFileSortType:=AValue;
if (csLoading in ComponentState) then Exit;
if (([csLoading,csDesigning] * ComponentState) <> []) then Exit;
CurrPath := GetPath;
try
BeginUpdate;