Merge pull request #1858

e098a3f history: enable search by recipient address (mmbyday)
pull/2/head
luigi1111 6 years ago
commit e553376c82
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -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;