parent
e2098d70e3
commit
71686cb0a8
|
@ -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;
|
||||
|
||||
|
@ -384,4 +384,4 @@ void CSettingsWindow::OnDelCompat()
|
|||
|
||||
pItem->setCheckState(0, Qt::Unchecked);
|
||||
m_CompatChanged = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue