Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772)

This commit is contained in:
Hzj_jie
2017-05-16 02:11:11 -07:00
committed by Qingping Hou
parent 3492b8b117
commit 30378eb2a8
25 changed files with 279 additions and 104 deletions

View File

@@ -481,7 +481,6 @@ end
function ReaderUI:onFlushSettings()
self:saveSettings()
return true
end
function ReaderUI:closeDocument()
@@ -530,7 +529,6 @@ function ReaderUI:onClose()
if _running_instance == self then
_running_instance = nil
end
return true
end
return ReaderUI