diff --git a/src/create.cpp b/src/create.cpp --- a/src/create.cpp +++ b/src/create.cpp @@ -108,11 +108,13 @@ void Create::createAccount() { + m_form->scrollAreaWidgetContents->setEnabled(false); QString providerName = sender()->property("providerName").toString(); qDebug() << "Starting new account dialog for" << providerName; CreateAccount *acc = new CreateAccount(providerName, this); connect(acc, &CreateAccount::finished, [=](KJob *job) { + m_form->scrollAreaWidgetContents->setEnabled(true); if (job->error() == KJob::UserDefinedError) { QMessageBox::critical(m_parent, i18nc("Messagebox title; meaning 'Unable to finish the action you started'", "Unable to finish"), job->errorText()); }