mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix empty menu widget won't trigger screen refresh
This should fix #1398.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user