fix(readerfontlight): crash in toggle

This commit is contained in:
Qingping Hou
2016-02-17 09:41:17 -08:00
parent 37a0765897
commit 4598284bbb
3 changed files with 15 additions and 12 deletions

View File

@@ -93,7 +93,7 @@ function ReaderFrontLight:onShowFlDialog()
text = _("Toggle"),
enabled = true,
callback = function()
self.fl_dialog.input:setText("")
self.fl_dialog:setInputText("")
powerd:toggleFrontlight()
end,
},