Skip to content

Commit

Permalink
Because of some changes in the virtualtree the result of inherited Do…
Browse files Browse the repository at this point in the history
…GetImageIndex(Node, Kind, Column, Ghosted, Index) will never be nil.
  • Loading branch information
Roman Kassebaum committed Jan 19, 2017
1 parent 4bb8a3e commit 85b3ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/VirtualExplorerTree.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4280,7 +4280,7 @@ function TCustomVirtualExplorerTree.DoGetImageIndex(Node: PVirtualNode; Kind: TV

if ValidateNamespace(Node, NS) then
begin
if (Result = nil) and (Column = Header.MainColumn) then
if Column = Header.MainColumn then
begin
Result := Images;
if Result = nil then
Expand Down

0 comments on commit 85b3ea2

Please sign in to comment.