forked from qt-creator/qt-creator
SSH: Fix DSA key creation
We forgot to fill the key size combo box for this type of key. Change-Id: I30cb1a7996d03c5eb139aa65f43810e1014472c7 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -77,6 +77,8 @@ void SshKeyCreationDialog::keyTypeChanged()
|
||||
keySizes << QLatin1String("1024") << QLatin1String("2048") << QLatin1String("4096");
|
||||
else if (m_ui->ecdsa->isChecked())
|
||||
keySizes << QLatin1String("256") << QLatin1String("384") << QLatin1String("521");
|
||||
else if (m_ui->dsa->isChecked())
|
||||
keySizes << QLatin1String("1024");
|
||||
m_ui->comboBox->addItems(keySizes);
|
||||
if (!keySizes.isEmpty())
|
||||
m_ui->comboBox->setCurrentIndex(0);
|
||||
|
||||
Reference in New Issue
Block a user