From 879d6bb17cd08d7f2a846c9e48725ffd7e331bcd Mon Sep 17 00:00:00 2001 From: Christian Hohnstaedt Date: Sat, 3 Mar 2018 15:23:04 +0100 Subject: [PATCH] When searching for items, also search in the new "comment" field. --- lib/pki_base.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pki_base.cpp b/lib/pki_base.cpp index 7a2e6ffb..efc5ce48 100644 --- a/lib/pki_base.cpp +++ b/lib/pki_base.cpp @@ -49,7 +49,8 @@ bool pki_base::visible() { if (limitPattern.isEmpty()) return true; - return getIntName().contains(limitPattern); + return getIntName().contains(limitPattern) || + comment.contains(limitPattern); } QString pki_base::getMsg(msg_type msg)