dictionary window triggers refresh itself, not via show()

This commit is contained in:
Hans-Werner Hilse
2014-11-30 18:11:02 +00:00
parent afb59667c0
commit 8376e2f821
2 changed files with 2 additions and 2 deletions

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"))