history: enable search by recipient address

pull/2/head
mmbyday 6 years ago
parent 002c800ee8
commit e098a3f15e

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