Merge pull request #1858

e098a3f history: enable search by recipient address (mmbyday)
This commit is contained in:
luigi1111 2018-12-26 16:13:00 -06:00
commit e553376c82
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -236,6 +236,9 @@ bool TransactionHistorySortFilterModel::filterAcceptsRow(int source_row, const Q
if (data.toString().contains(m_searchString))
return true;
data = sourceModel()->data(index, TransactionHistoryModel::TransactionTimeRole);
if (data.toString().contains(m_searchString))
return true;
data = sourceModel()->data(index, TransactionHistoryModel::TransactionDestinationsRole);
if (data.toString().contains(m_searchString))
return true;