Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Fix for progressbar caption
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <me@teran.ru>
  • Loading branch information
teran committed Oct 17, 2017
1 parent 13d7e5c commit 1da2591
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deduplicator.lrdevplugin/FindDuplicates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ function Deduplicator.FindDuplicates()
if indexerProgress:isCanceled() then
break;
end
indexerProgress:setPortionComplete(i, #catPhotos)
local fileName = photo:getFormattedMetadata("fileName")
local photoProgress = LrProgressScope({parent = indexerProgress, caption = "Processing " .. fileName})
photoProgress:setCaption("Processing " .. fileName)

indexerProgress:setPortionComplete(i, #catPhotos)
indexerProgress:setCaption("Processing " .. fileName)
IndexPhoto(photo)
end
indexerProgress:done()
Expand Down

0 comments on commit 1da2591

Please sign in to comment.