From 4489d50b7223157d6eceb76df08e099a4dadad3c Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 2 Jul 2021 17:03:18 +0200 Subject: [PATCH] Coins: add description to search --- src/model/CoinsProxyModel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/model/CoinsProxyModel.cpp b/src/model/CoinsProxyModel.cpp index 1920d80..0c4f4a0 100644 --- a/src/model/CoinsProxyModel.cpp +++ b/src/model/CoinsProxyModel.cpp @@ -30,7 +30,8 @@ bool CoinsProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceP if (!m_searchRegExp.pattern().isEmpty()) { return coin->pubKey().contains(m_searchRegExp) || coin->address().contains(m_searchRegExp) - || coin->hash().contains(m_searchRegExp) || coin->addressLabel().contains(m_searchRegExp); + || coin->hash().contains(m_searchRegExp) || coin->addressLabel().contains(m_searchRegExp) + || coin->description().contains(m_searchRegExp); } return !(!m_showSpent && coin->spent()) && coin->subaddrAccount() == 0;