mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
Coins: add description to search
This commit is contained in:
parent
18cb8e2132
commit
4489d50b72
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ bool CoinsProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceP
|
||||||
|
|
||||||
if (!m_searchRegExp.pattern().isEmpty()) {
|
if (!m_searchRegExp.pattern().isEmpty()) {
|
||||||
return coin->pubKey().contains(m_searchRegExp) || coin->address().contains(m_searchRegExp)
|
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;
|
return !(!m_showSpent && coin->spent()) && coin->subaddrAccount() == 0;
|
||||||
|
|
Loading…
Reference in a new issue