diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp index 2d7cd24d..780f9099 100644 --- a/src/gui/entry/EditEntryWidget.cpp +++ b/src/gui/entry/EditEntryWidget.cpp @@ -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; }