RemoteLinux: Disable private key path chooser unless key use is selected

Fixes: QTCREATORBUG-29534
Change-Id: I55b0869083ad10a43b635c79c33466b016540a41
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2023-08-23 14:32:01 +02:00
parent 2f6bec1d48
commit ff647966e5

View File

@@ -321,6 +321,8 @@ void GenericLinuxDeviceConfigurationWidget::initGui()
m_timeoutSpinBox->setValue(sshParams.timeout);
m_userLineEdit->setText(sshParams.userName());
m_keyFileLineEdit->setFilePath(sshParams.privateKeyFile);
m_keyFileLineEdit->setEnabled(
sshParams.authenticationType == SshParameters::AuthenticationTypeSpecificKey);
m_gdbServerLineEdit->setFilePath(device()->debugServerPath());
m_qmlRuntimeLineEdit->setFilePath(device()->qmlRunCommand());