Skip to content

Commit 85b3ea2

Browse files
author
Roman Kassebaum
committed
Because of some changes in the virtualtree the result of inherited DoGetImageIndex(Node, Kind, Column, Ghosted, Index) will never be nil.
1 parent 4bb8a3e commit 85b3ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/VirtualExplorerTree.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4280,7 +4280,7 @@ function TCustomVirtualExplorerTree.DoGetImageIndex(Node: PVirtualNode; Kind: TV
42804280

42814281
if ValidateNamespace(Node, NS) then
42824282
begin
4283-
if (Result = nil) and (Column = Header.MainColumn) then
4283+
if Column = Header.MainColumn then
42844284
begin
42854285
Result := Images;
42864286
if Result = nil then

0 commit comments

Comments
 (0)