From 2df36f2a8d04fbbe0a8f1bb85b7c7c41e8ad8280 Mon Sep 17 00:00:00 2001 From: juha Date: Thu, 21 Apr 2016 20:39:58 +0000 Subject: [PATCH] IdeIntf: Copy ForceUpdate in TPersistentSelectionList.Assign also when Count=0. git-svn-id: trunk@52228 - --- components/ideintf/propeditutils.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ideintf/propeditutils.pp b/components/ideintf/propeditutils.pp index 9a708231c4..62c50b3364 100644 --- a/components/ideintf/propeditutils.pp +++ b/components/ideintf/propeditutils.pp @@ -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;