mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 06:09:29 +02:00
Qt5: fixed doubled menu items in IDE.issue #39364
This commit is contained in:
parent
0f5ed91814
commit
515da22427
@ -408,7 +408,11 @@ begin
|
||||
if not WSCheckMenuItem(AMenuItem, 'UpdateMenuIcon') then
|
||||
Exit;
|
||||
if AMenuItem.HasParent then
|
||||
begin
|
||||
if Assigned(TQtMenu(AMenuItem.handle).actionHandle) then
|
||||
QAction_setVisible(TQtMenu(AMenuItem.handle).actionHandle, False);
|
||||
AMenuItem.RecreateHandle;
|
||||
end;
|
||||
end;
|
||||
|
||||
{ TQtWSMenu }
|
||||
|
Loading…
Reference in New Issue
Block a user