Fix bug with inline menus

Fixes #44
This commit is contained in:
James Westman 2022-02-21 14:08:42 -06:00
parent 8ce748e62b
commit 4b42016837
6 changed files with 24 additions and 2 deletions

View file

@ -19,12 +19,12 @@
from .attributes import BaseAttribute
from .gobject_object import ObjectContent
from .gobject_object import Object, ObjectContent
from .ui import UI
from .common import *
class Menu(AstNode):
class Menu(Object):
def emit_xml(self, xml: XmlEmitter):
xml.start_tag(self.tokens["tag"], id=self.tokens["id"])
for child in self.children: