Skip to content

Commit

Permalink
Fix title set if keyword needs to be created
Browse files Browse the repository at this point in the history
Avoid shadowing kw variable in syncKeywords.
  • Loading branch information
rcloran committed May 30, 2023
1 parent 0f449d3 commit ab67dbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lr-inaturalist-publish.lrdevplugin/SyncObservations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ local function syncKeywords(photo, kw, settings, keywordCache)
photo:removeKeyword(oldKw)
end
if needsAddition then
kw = createKeyword(kw, keywordCache, settings)
photo:addKeyword(kw)
local lrkw = createKeyword(kw, keywordCache, settings)
photo:addKeyword(lrkw)
end
end

Expand Down

0 comments on commit ab67dbd

Please sign in to comment.