mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
parent
4f8928d35e
commit
fb34f8ea85
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ void Application::slotAccountStateRemoved(AccountState *accountState)
|
|||
}
|
||||
|
||||
// if there is no more account, show the wizard.
|
||||
if (AccountManager::instance()->accounts().isEmpty()) {
|
||||
if (_gui && AccountManager::instance()->accounts().isEmpty()) {
|
||||
// allow to add a new account if there is non any more. Always think
|
||||
// about single account theming!
|
||||
OwncloudSetupWizard::runWizard(this, SLOT(slotownCloudWizardDone(int)));
|
||||
|
|
Loading…
Reference in a new issue