SSH Agent: Fix attachment data not updating before apply
Fixes regression since #3833 was merged
This commit is contained in:
committed by
Jonathan White
parent
92a7fe33bd
commit
9e17d52e8e
@@ -673,7 +673,11 @@ bool EditEntryWidget::getOpenSSHKey(OpenSSHKey& key, bool decrypt)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!settings.toOpenSSHKey(m_entry, key, decrypt)) {
|
||||
if (!settings.toOpenSSHKey(m_mainUi->usernameComboBox->lineEdit()->text(),
|
||||
m_mainUi->passwordEdit->text(),
|
||||
m_advancedUi->attachmentsWidget->entryAttachments(),
|
||||
key,
|
||||
decrypt)) {
|
||||
showMessage(settings.errorString(), MessageWidget::Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user