[API 6.2.3] Added changes for API 6.2.3 compatibility
This commit is contained in:
@@ -231,11 +231,21 @@ end
|
||||
Add a button to the selected images module in lighttable
|
||||
]]
|
||||
|
||||
dt.gui.libs.image.register_action(
|
||||
_("extract embedded jpeg"),
|
||||
function(event, images) extract_embedded_jpeg(images) end,
|
||||
"extract embedded jpeg"
|
||||
)
|
||||
if CURR_API_STRING < "6.2.3" then
|
||||
dt.gui.libs.image.register_action(
|
||||
_("extract embedded jpeg"),
|
||||
function(event, images) extract_embedded_jpeg(images) end,
|
||||
"extract embedded jpeg"
|
||||
)
|
||||
else
|
||||
dt.gui.libs.image.register_action(
|
||||
"multi_os", _("extract embedded jpeg"),
|
||||
function(event, images) extract_embedded_jpeg(images) end,
|
||||
"extract embedded jpeg"
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
|
||||
--[[
|
||||
Add a shortcut
|
||||
|
||||
Reference in New Issue
Block a user