diff --git a/src/plugins/vcsbase/basecheckoutwizard.cpp b/src/plugins/vcsbase/basecheckoutwizard.cpp index 48ba1264c8d..cbb0cf1eb2f 100644 --- a/src/plugins/vcsbase/basecheckoutwizard.cpp +++ b/src/plugins/vcsbase/basecheckoutwizard.cpp @@ -124,6 +124,7 @@ void BaseCheckoutWizard::runWizard(const QString &path, QWidget *parent, const Q QMessageBox msgBox(QMessageBox::Warning, tr("Cannot Open Project"), tr("Failed to open project in '%1'.").arg(QDir::toNativeSeparators(checkoutPath))); msgBox.setDetailedText(errorMessage); + msgBox.addButton(QMessageBox::Ok); msgBox.exec(); } }