You've already forked lazarus-ccr
* Cleanup TJvXPBarItem.GetImages
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -732,14 +732,10 @@ end;
|
||||
|
||||
function TJvXPBarItem.GetImages: TCustomImageList;
|
||||
begin
|
||||
Result := nil;
|
||||
if Assigned(FImageList) then
|
||||
Result := FImageList
|
||||
else
|
||||
if Assigned(Action) and Assigned(TAction(Action).ActionList.Images) then
|
||||
Result := TAction(Action).ActionList.Images
|
||||
else
|
||||
if Assigned(FWinXPBar.FImageList) then
|
||||
Result := FImageList;
|
||||
if (Result = nil) and Assigned(Action) then
|
||||
Result := TAction(Action).ActionList.Images;
|
||||
if Result = nil then
|
||||
Result := FWinXPBar.FImageList;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user