it will better
to show and close one widget
but I found the same problem in documentfont menu
so dancing is continued
This commit is contained in:
nicolua
2014-05-31 13:50:21 +03:00
parent 8a2c55330b
commit 09d6005bb3

View File

@@ -137,13 +137,13 @@ function ReaderToc:onShowToc()
self.ui:handleEvent(Event:new("PageUpdate", item.page))
end
local w = Device:isTouchDevice() and menu_container or toc_menu
toc_menu.close_callback = function()
UIManager:close(menu_container)
UIManager:close(w)
end
UIManager:show(menu_container)
--nicolua
UIManager:show(toc_menu)
UIManager:show(w)
return true
end