show infomessage on document open

This commit is contained in:
Qingping Hou
2012-04-15 14:20:26 +08:00
parent f24f2a01f6
commit 5e867d38ef

View File

@@ -48,6 +48,8 @@ function openFile(filename)
reader = CREReader
end
if reader then
InfoMessage:show("Opening document, please wait... ")
fb:refresh(0)
local ok, err = reader:open(filename)
if ok then
reader:loadSettings(filename)