mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-25 11:37:24 +01:00
LCL: menu item: don't store bitmap if ImageIndex is assigned
git-svn-id: trunk@57243 -
This commit is contained in:
parent
5ed8447065
commit
2801ad9f1c
@ -561,7 +561,8 @@ begin
|
||||
else Result :=
|
||||
FBitmapIsValid and
|
||||
(FBitmap <> nil) and (not FBitmap.Empty) and
|
||||
(FBitmap.Width > 0) and (FBitmap.Height > 0);
|
||||
(FBitmap.Width > 0) and (FBitmap.Height > 0) and
|
||||
(ImageIndex < 0);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user