Skip to content

Commit

Permalink
add break in the loop after switching collection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Junya Enoki committed Aug 5, 2022
1 parent 2a5082f commit 9d4af4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions C2Cap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ LrTasks.startAsyncTask( function ()
for i,ColIt in ipairs(collections) do
if ColIt:getName()==prefs.RevertTo then
CurrentCatalog:setActiveSources(ColIt)
break
end
end
end
Expand Down

0 comments on commit 9d4af4e

Please sign in to comment.