Skip to content

Commit

Permalink
Preserve collection name after an edit the settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
sto3014 committed Jun 1, 2021
1 parent f76ec1e commit 52e69f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/lua/lrphotos.lrdevplugin/PhotosPublishTask.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ end
function PhotosPublishTask.getCollectionBehaviorInfo(publishSettings)

return {
defaultCollectionName = LOC "$$$/Photos/DefaultCollectionName/Photostream=Photostream",
defaultCollectionCanBeDeleted = false,
-- defaultCollectionName = LOC "$$$/Photos/DefaultCollectionName/Photostream=Photostream",
defaultCollectionCanBeDeleted = true,
canAddCollection = true,
maxCollectionSetDepth = 0,
-- Collection sets are not supported through the Flickr sample plug-in.
Expand Down Expand Up @@ -235,4 +235,3 @@ function PhotosPublishTask.deletePhotosFromPublishedCollection(publishSettings,
end
end


0 comments on commit 52e69f2

Please sign in to comment.