fix bug in crereader's font setting

only show message when there is a font change
This commit is contained in:
Qingping Hou
2012-04-19 22:18:27 +08:00
parent 30766f8dce
commit d34a3e8a0b

View File

@@ -380,9 +380,9 @@ function CREReader:adjustCreReaderCommands()
if item_no then
cr.doc:setFontFace(face_list[item_no])
self.font_face = face_list[item_no]
InfoMessage:show("Redrawing with "..face_list[item_no], 0)
end
Screen:restoreFromSavedBB()
InfoMessage:show("Redrawing with "..face_list[item_no], 0)
cr:redrawCurrentPage()
end
)