IdeIntf: Copy ForceUpdate in TPersistentSelectionList.Assign also when Count=0.

git-svn-id: trunk@52228 -
This commit is contained in:
juha 2016-04-21 20:39:58 +00:00
parent 672ab540ee
commit 2df36f2a8d

View File

@ -224,7 +224,7 @@ var
begin
if SourceSelectionList = Self then Exit;
Clear;
if (SourceSelectionList <> nil) and (SourceSelectionList.Count > 0) then
if Assigned(SourceSelectionList) then
begin
FForceUpdate := SourceSelectionList.ForceUpdate;
FPersistentList.Count := SourceSelectionList.Count;