diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp index f25fa4532f6..9130ab43095 100644 --- a/src/gui/folder.cpp +++ b/src/gui/folder.cpp @@ -396,7 +396,7 @@ bool Folder::syncPaused() const bool Folder::canSync() const { - return !syncPaused() && accountState()->readyForSync() && isReady() && _accountState->account()->hasCapabilities() && _folderWatcher; + return _engine && !syncPaused() && accountState()->readyForSync() && isReady() && _accountState->account()->hasCapabilities() && _folderWatcher; } bool Folder::isReady() const