Fix dynamic submenus staying open

Resolves #47
This commit is contained in:
Thomas Gläßle 2017-10-11 14:47:39 +02:00
parent 057f9a626a
commit 4980ea9a02
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ local function set_menu(self,menu, event, button_id, mode)
return return
end end
m = menu(self) m = menu(self)
self._tmp_menu = m
end end
if not m then return end if not m then return end