Merge pull request #1349 from hwhw/master

Fix refresh crash
This commit is contained in:
Huang Xin
2014-12-06 06:16:02 +08:00
2 changed files with 2 additions and 1 deletions

2
base

Submodule base updated: f16af8b6bc...9410474217

View File

@@ -558,6 +558,7 @@ function ReaderView:onSetScreenMode(new_mode, rotation)
else
Screen:setScreenMode(new_mode)
end
UIManager:setDirty(self.dialog, "full")
self.ui:handleEvent(Event:new("SetDimensions", Screen:getSize()))
self.ui:handleEvent(Event:new("InitScrollPageStates"))
end