rename ReaderKoptinterface to ReaderKoptListener & save zoom mode to normal_zoom_mode

This commit is contained in:
chrox
2013-02-20 11:50:36 +08:00
parent 74f76e98cc
commit 02c1005d95
2 changed files with 15 additions and 11 deletions

View File

@@ -160,13 +160,13 @@ function ReaderUI:init()
}
table.insert(self, config_dialog)
-- koptinterface controller
local koptinterface = ReaderKoptinterface:new{
local koptlistener = ReaderKoptListener:new{
dialog = self.dialog,
view = self[1],
ui = self,
document = self.document,
}
table.insert(self, koptinterface)
table.insert(self, koptlistener)
end
--DEBUG(self.doc_settings)
-- we only read settings after all the widgets are initialized