dictionary window triggers refresh itself, not via show()

This commit is contained in:
Hans-Werner Hilse committed 2014-11-30 22:33:37 +00:00
1 parent afb59667c0
commit 8376e2f821
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ function ReaderFont:onSetFontSize(new_size)
UIManager:show(Notification:new{
text = T( _("Font size set to %1."), self.font_size),
timeout = 1,
})
}, nil, nil, "none")
self.ui.document:setFontSize(Screen:scaleBySize(new_size))
self.ui:handleEvent(Event:new("UpdatePos"))