Skip to content

Commit

Permalink
Fix initial sync after setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rcloran committed May 2, 2023
1 parent 5d028dd commit bc32ffa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lr-inaturalist-publish.lrdevplugin/ExportServiceProvider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,10 @@ function exportServiceProvider.goToPublishedCollection(publishSettings, _)
LrHttp.openUrlInBrowser("https://www.inaturalist.org/observations/" .. publishSettings.login)
end

function exportServiceProvider.didCreateNewPublishService(publishSettings, _)
function exportServiceProvider.didCreateNewPublishService(publishSettings, info)
-- Emulates the setup we have when editing config
publishSettings.LR_publishService = info.publishService

local f = LrView.osFactory()
local mainMsg = "This will take some time."
if publishSettings.syncOnPublish then
Expand Down

0 comments on commit bc32ffa

Please sign in to comment.