Update src/UserSettingsPage.cpp
Co-authored-by: Urszula <u.wnuk@proton.me>
This commit is contained in:
parent
1ab3a37056
commit
95dc80ddec
1 changed files with 5 additions and 0 deletions
|
|
@ -2141,6 +2141,11 @@ UserSettingsModel::exportSessionKeys()
|
|||
return;
|
||||
}
|
||||
|
||||
if (repeatedPassword.isEmpty()) {
|
||||
QMessageBox::warning(nullptr, tr("Error"), tr("Please repeat the password"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (password != repeatedPassword) {
|
||||
QMessageBox::warning(nullptr, tr("Error"), tr("Passwords don't match"));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue