Skip to content

Commit c3c7da4

Browse files
Fix automatic sync crash (#4258)
1 parent fddf4e4 commit c3c7da4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/activeproject.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,10 @@ void ActiveProject::requestSync( const SyncOptions::RequestOrigin requestOrigin
347347
{
348348
if ( requestOrigin == SyncOptions::RequestOrigin::ManualRequest )
349349
{
350-
mAutosyncController->updateLastUpdateTime();
350+
if ( mAutosyncController )
351+
{
352+
mAutosyncController->updateLastUpdateTime();
353+
}
351354
}
352355
emit syncActiveProject( mLocalProject, requestOrigin );
353356
}

0 commit comments

Comments
 (0)