This commit is contained in:
FlightControl
2017-05-04 10:19:34 +02:00
parent 4fcb7be9fc
commit 0eb9d1917b
4 changed files with 12 additions and 11 deletions

View File

@@ -780,9 +780,9 @@ do
self = MenuGroup._Menus[Path]
else
self = BASE:Inherit( self, MENU_BASE:New( MenuText, ParentMenu ) )
if MenuGroup:IsAlive() then
--if MenuGroup:IsAlive() then
MenuGroup._Menus[Path] = self
end
--end
self.MenuGroup = MenuGroup
self.Path = Path
@@ -886,9 +886,9 @@ do
else
self = BASE:Inherit( self, MENU_COMMAND_BASE:New( MenuText, ParentMenu, CommandMenuFunction, arg ) )
if MenuGroup:IsAlive() then
--if MenuGroup:IsAlive() then
MenuGroup._Menus[Path] = self
end
--end
self.Path = Path
self.MenuGroup = MenuGroup