Update OpenInExplorer.lua

Add the possibility to define a shortcut for this LUA script.
This commit is contained in:
GLLM
2020-06-11 22:06:00 +02:00
committed by GitHub
parent b9d14a2711
commit 26d97b8cdf

View File

@@ -108,4 +108,9 @@ if proper_install then
function() open_in_fmanager(act_os, fmng_cmd[act_os]) end,
_("Opens the file manager at the selected image's location")
)
dt.register_event(
"shortcut",
function(event, shortcut) open_in_fmanager(act_os, fmng_cmd[act_os]) end,
"OpenInExplorer"
)
end