mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 01:46:05 +02:00
- menu designer patch from Martin Smat (issue #0007537)
git-svn-id: trunk@11089 -
This commit is contained in:
parent
0469648053
commit
3dfa28e3e5
@ -1470,7 +1470,7 @@ begin
|
|||||||
if (MenuItem^.SubMenu <> nil) then
|
if (MenuItem^.SubMenu <> nil) then
|
||||||
Result := AddNewItemBefore(MenuItem^.SubMenu,Ident);
|
Result := AddNewItemBefore(MenuItem^.SubMenu,Ident);
|
||||||
if (Result = nil) and (MenuItem^.NextItem <> nil) then
|
if (Result = nil) and (MenuItem^.NextItem <> nil) then
|
||||||
AddNewItemBefore(MenuItem^.NextItem,Ident);
|
Result := AddNewItemBefore(MenuItem^.NextItem, Ident);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user