mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
SSA Agent: remove redundant clear() on attachment combo boxes
attachmentCertificateComboBox and attachmentComboBox are already cleared in updateSSHAgentAttachments().
This commit is contained in:
parent
3d9ef5c4ed
commit
7916050b39
1 changed files with 0 additions and 2 deletions
|
|
@ -647,13 +647,11 @@ void EditEntryWidget::setSSHAgentSettings()
|
|||
m_sshAgentUi->lifetimeCheckBox->setChecked(m_sshAgentSettings.useLifetimeConstraintWhenAdding());
|
||||
m_sshAgentUi->lifetimeSpinBox->setValue(m_sshAgentSettings.lifetimeConstraintDuration());
|
||||
QSignalBlocker sshAgent_attachmentComboBox_Blocker(m_sshAgentUi->attachmentComboBox);
|
||||
m_sshAgentUi->attachmentComboBox->clear();
|
||||
m_sshAgentUi->addToAgentButton->setEnabled(false);
|
||||
m_sshAgentUi->removeFromAgentButton->setEnabled(false);
|
||||
m_sshAgentUi->copyToClipboardButton->setEnabled(false);
|
||||
m_sshAgentUi->addCertificateToAgentCheckBox->setChecked(m_sshAgentSettings.useCertificate());
|
||||
QSignalBlocker sshAgent_attachmentCertificateComboBox_Blocker(m_sshAgentUi->attachmentCertificateComboBox);
|
||||
m_sshAgentUi->attachmentCertificateComboBox->clear(); // AlexpFr: why? attachmentCertificateComboBox init in updateSSHAgentAttachments(
|
||||
}
|
||||
|
||||
void EditEntryWidget::updateSSHAgent()
|
||||
|
|
|
|||
Loading…
Reference in a new issue