fix empty menu widget won't trigger screen refresh

This should fix #1398.
This commit is contained in:
chrox
2015-02-01 20:41:18 +08:00
parent 07586cea71
commit c6f6699644

View File

@@ -575,8 +575,8 @@ function Menu:init()
-- if the table is not yet initialized, this call
-- must be done manually:
self.page = math.ceil((self.item_table.current or 1) / self.perpage)
self:updateItems(1)
end
self:updateItems(1)
end
function Menu:onCloseWidget()