|
|
|
@ -76,7 +76,7 @@ void MachineConfigDialog::slotOk() {
|
|
|
|
|
void MachineConfigDialog::processLockouts() {
|
|
|
|
|
m_base->specifiedPassword->setEnabled(m_base->manuallySpecifyPassword->isOn());
|
|
|
|
|
|
|
|
|
|
if (((m_base->manuallySpecifyPassword->isOn() == true) && (strcmp(m_base->specifiedPassword->password(), "") == 0)) || (m_base->machineName->text() == "")) {
|
|
|
|
|
if (((m_base->manuallySpecifyPassword->isOn() == true) && (m_base->specifiedPassword->password().isEmpty())) || (m_base->machineName->text() == "")) {
|
|
|
|
|
enableButton(KDialogBase::Ok, false);
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|