Skip to content

Commit

Permalink
1.4
Browse files Browse the repository at this point in the history
Fix to launched when special collection is selected.
  • Loading branch information
remov-b4-flight committed Mar 4, 2023
1 parent 1232e02 commit 03def57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion C2Cap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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, },

}

0 comments on commit 03def57

Please sign in to comment.