diff -r fdb3730aa0e2 -r e6af1eb9e8ce QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sun Oct 29 19:06:02 2017 +0100 +++ b/QTfrontend/hwform.cpp Sun Oct 29 19:56:35 2017 +0100 @@ -1526,11 +1526,11 @@ pwDialog->lePassword->setFocus(); } - //if dialog close, create an error message + //if dialog aborted, return failure if (pwDialog->exec() != QDialog::Accepted) { delete pwDialog; GoBack(); - break; + return 1; } //set nick and pass from the dialog