mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 14:39:22 +02:00
LCL: MenuItem, SetBitmap did not trigger change when old Bitmap existed, and was only re-assigned
This commit is contained in:
parent
99e2074a2d
commit
ce20675a1b
@ -1770,6 +1770,7 @@ end;
|
|||||||
procedure TMenuItem.BitmapChange(Sender: TObject);
|
procedure TMenuItem.BitmapChange(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
UpdateImage;
|
UpdateImage;
|
||||||
|
MenuChanged(False);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TMenuItem.GetAutoLineReduction: Boolean;
|
function TMenuItem.GetAutoLineReduction: Boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user