From a83345d13672c2ab3e7e77cd782fd66575cd773d Mon Sep 17 00:00:00 2001 From: Toni Spets Date: Mon, 13 Apr 2020 08:30:02 +0300 Subject: SSH Agent: Reset settings when KeeAgent.settings is removed Fixes #4594 --- src/gui/DatabaseWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/DatabaseWidget.cpp') diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp index 2881705bb..a068a5b83 100644 --- a/src/gui/DatabaseWidget.cpp +++ b/src/gui/DatabaseWidget.cpp @@ -1758,7 +1758,7 @@ bool DatabaseWidget::currentEntryHasSshKey() return false; } - return KeeAgentSettings::inEntry(currentEntry); + return KeeAgentSettings::inEntryAttachments(currentEntry->attachments()); } #endif -- cgit v1.2.3