- Host address and port are part of the service discovery; therefore, it
makes no sense to change them.
- Interactive removal of an auto-detected device configuration should
also not be possible, as that would likely confuse the code that added
it.
Change-Id: I7250462fa619ed4cd5a85ad44eeaa8ec1f8861d2
Reviewed-on: http://codereview.qt-project.org/6398
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
m_ui->keyButton->setChecked(true);
m_nameValidator->setDisplayName(current->name());
m_ui->timeoutSpinBox->setValue(sshParams.timeout);
+ m_ui->removeConfigButton->setEnabled(!current->isAutoDetected());
+ m_ui->hostLineEdit->setEnabled(!current->isAutoDetected());
+ m_ui->sshPortSpinBox->setEnabled(!current->isAutoDetected());
fillInValues();
}