Commit 30320d18 authored by Àlex Fiestas's avatar Àlex Fiestas
Browse files

Close the Wizard widget if done with no service or with result != 1

parent aacef346
......@@ -55,7 +55,8 @@ OwnCloudWizard::~OwnCloudWizard()
void OwnCloudWizard::done(int result)
{
if (result != 1) {
if (result != 1 || m_services.isEmpty()) {
QWizard::done(result);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment