Merge pull request #48 from deficient/fix-dynamic-submenu

Fix dynamic submenus staying open
This commit is contained in:
Emmanuel Lepage Vallée 2018-01-10 14:40:28 -05:00 committed by GitHub
commit ac9bab0655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
end
m = menu(self)
self._tmp_menu = m
end
if not m then return end