mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix crash when adding external ssh key to entry
This commit is contained in:
parent
2022a5e65c
commit
d41a37c9bc
@ -667,7 +667,7 @@ bool EditEntryWidget::getOpenSSHKey(OpenSSHKey& key, bool decrypt)
|
||||
KeeAgentSettings settings;
|
||||
toKeeAgentSettings(settings);
|
||||
|
||||
if (!settings.keyConfigured()) {
|
||||
if (!m_entry || !settings.keyConfigured()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user