inline if didn't work. Added intermediate register_event function in transition library
This commit is contained in:
@@ -50,6 +50,7 @@ As an alternative option you can choose to show the image file names as symbolic
|
||||
local dt = require "darktable"
|
||||
local du = require "lib/dtutils"
|
||||
local df = require "lib/dtutils.file"
|
||||
require "lib/darktable_transition"
|
||||
local dsys = require "lib/dtutils.system"
|
||||
local gettext = dt.gettext
|
||||
|
||||
@@ -209,7 +210,7 @@ if act_os ~= "windows" then
|
||||
end
|
||||
|
||||
dt.register_event(
|
||||
CURR_API_STRING >= "6.2.1" and "OpenInExplorer", "shortcut" or "shortcut",
|
||||
"OpenInExplorer", "shortcut",
|
||||
function(event, shortcut) open_in_fmanager() end,
|
||||
"OpenInExplorer"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user