show infomessage on document open

This commit is contained in:
Qingping Hou committed 2012-04-15 14:20:26 +08:00
1 parent f24f2a01f6
commit 5e867d38ef
1 file changed
+2
+2
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)