pull/2449/head
robert00s 8 years ago committed by Qingping Hou
parent 187598deb2
commit ae9261b685

@ -233,7 +233,8 @@ function FileManager:init()
{ {
{ {
text = _("Book information"), text = _("Book information"),
enabled = lfs.attributes(file, "mode") == "file" and true or false, enabled = lfs.attributes(file, "mode") == "file"
and not DocumentRegistry:getProvider(file).is_pic and true or false,
callback = function() callback = function()
local book_info_metadata = FileManager:bookInformation(file) local book_info_metadata = FileManager:bookInformation(file)
if book_info_metadata then if book_info_metadata then

Loading…
Cancel
Save