From d41a37c9bc4947c9aa7bbbe5fa46f74933a74795 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Wed, 18 Mar 2020 22:42:48 -0400 Subject: [PATCH] Fix crash when adding external ssh key to entry --- src/gui/entry/EditEntryWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp index 2d7cd24dd..780f90996 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; }