diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp index 26bc6c05a50..5c66646b50e 100644 --- a/src/gui/folder.cpp +++ b/src/gui/folder.cpp @@ -164,8 +164,8 @@ Folder::Folder(const FolderDefinition &definition, const AccountStatePtr &accoun // Potentially upgrade suffix vfs to windows vfs OC_ENFORCE(_vfs); - // Initialize the vfs plugin - startVfs(); + // Initialize the vfs plugin. Do this after the UI is running, so we can show a dialog when something goes wrong. + QTimer::singleShot(0, this, &Folder::startVfs); } }