Initial
This commit is contained in:
parent
6eceac01c2
commit
02766bd5d2
2 changed files with 10 additions and 27 deletions
|
|
@ -44,6 +44,9 @@ void UserEditDialog::accept() {
|
|||
case 2:
|
||||
role = UserRole::SKIPPER;
|
||||
break;
|
||||
default:
|
||||
QMessageBox::critical(this, "Error", "Role not selected");
|
||||
return;
|
||||
}
|
||||
bool emptyTitle = ui->et_login->text().trimmed().isEmpty();
|
||||
bool emptyPassword = ui->et_password->text().trimmed().isEmpty();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue