Skip to content

Commit

Permalink
Only show SyncInBackroundDialog for Cloud Projects
Browse files Browse the repository at this point in the history
Resolves: audacity#6239
  • Loading branch information
crsib committed Apr 8, 2024
1 parent 3038304 commit 89d18df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/mod-cloud-audiocom/CloudProjectFileIOExtensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ class IOExtension final : public ProjectFileIOExtension
AudacityProject& project, const ProjectSerializer& serializer) override
{
auto& projectCloudExtension = ProjectCloudExtension::Get(project);

if (!projectCloudExtension.IsCloudProject())
return;

projectCloudExtension.OnUpdateSaved(serializer);

const int savesCount = projectCloudExtension.GetSavesCount();
Expand Down

0 comments on commit 89d18df

Please sign in to comment.