return true in event handlers

we should do that when we know a event handler is only used in
that widget
This commit is contained in:
Qingping Hou
2013-01-07 12:51:25 -05:00
parent 5ce4f24c37
commit 204cfb2b17
2 changed files with 3 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ end
function ReaderFont:onToggleFontBolder()
self.ui.document:toggleFontBolder()
self.ui:handleEvent(Event:new("UpdatePos"))
return true
end
function ReaderFont:onCloseDocument()