Update SettingsWindow.cpp

Couple of typos
This commit is contained in:
cricri-pingouin 2020-12-22 21:14:19 +00:00 committed by GitHub
parent e2098d70e3
commit 71686cb0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -192,7 +192,7 @@ void CSettingsWindow::apply()
if (ui.chkPassRequired->isChecked())
{
if (!isPassSet && m_NewPassword.isEmpty())
OnSetPassword(); // request password entry if it wasn't already
OnSetPassword(); // request password entry if it wasn't entered already
if (!m_NewPassword.isEmpty()) {
theAPI->LockConfig(m_NewPassword); // set new/changed password
m_NewPassword.clear();
@ -309,7 +309,7 @@ retry:
if (Value1.isEmpty())
return;
QString Value2 = QInputDialog::getText(this, "Sandboxie-Plus", tr("Please re enter the new configuration password."), QLineEdit::Password);
QString Value2 = QInputDialog::getText(this, "Sandboxie-Plus", tr("Please re-enter the new configuration password."), QLineEdit::Password);
if (Value2.isEmpty())
return;