From 03def575e5a2d3393a49012c7cf54b89be994bdd Mon Sep 17 00:00:00 2001 From: remov-b4-flight Date: Sat, 4 Mar 2023 18:19:07 +0900 Subject: [PATCH] 1.4 Fix to launched when special collection is selected. --- C2Cap.lua | 2 +- Info.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C2Cap.lua b/C2Cap.lua index 57590c2..6f9ff6c 100755 --- a/C2Cap.lua +++ b/C2Cap.lua @@ -20,7 +20,7 @@ end local currSelection = CurrentSelectionArray[1] -if (currSelection.type() ~= 'LrCollection') then +if (type(currSelection) == "string" or currSelection.type() ~= 'LrCollection') then return end --Main part of this plugin. diff --git a/Info.lua b/Info.lua index 7b069a9..1adb476 100755 --- a/Info.lua +++ b/Info.lua @@ -18,6 +18,6 @@ return { LrPluginInfoProvider = 'PluginInfo.lua', LrInitPlugin = 'PluginInit.lua', - VERSION = { major=1, minor=3, revision=0, build=0, }, + VERSION = { major=1, minor=4, revision=0, build=0, }, }