diff --git a/modules/mod-cloud-audiocom/CloudProjectFileIOExtensions.cpp b/modules/mod-cloud-audiocom/CloudProjectFileIOExtensions.cpp index bf58bdbc2ba0..40d64f5cc5cd 100644 --- a/modules/mod-cloud-audiocom/CloudProjectFileIOExtensions.cpp +++ b/modules/mod-cloud-audiocom/CloudProjectFileIOExtensions.cpp @@ -241,14 +241,16 @@ class IOExtension final : public ProjectFileIOExtension { auto project = weakProject.lock(); - if (!project) + if ( + !project || + ProjectCloudExtension::Get(*project).IsFirstSyncDialogShown()) return; + ProjectCloudExtension::Get(*project).SetFirstSyncDialogShown(true); + const auto result = SyncSucceededDialog { project.get() }.ShowDialog(); - ProjectCloudExtension::Get(*project).SetFirstSyncDialogShown(true); - if (result == SyncSucceededDialog::ViewOnlineIdentifier()) BasicUI::OpenInDefaultBrowser(audacity::ToWXString( ProjectCloudExtension::Get(*project).GetCloudProjectPage()));