diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp index 36918327fa4..f15b365c0be 100644 --- a/src/gui/folder.cpp +++ b/src/gui/folder.cpp @@ -408,7 +408,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