allow for filtering addresses and labels by searching for the typed string anywhere, not just at the beginning (#641)
This commit is contained in:
parent
b790077c37
commit
d8b8640863
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ bool TransactionFilterProxy::filterAcceptsRow(int sourceRow, const QModelIndex &
|
||||||
return false;
|
return false;
|
||||||
if(datetime < dateFrom || datetime > dateTo)
|
if(datetime < dateFrom || datetime > dateTo)
|
||||||
return false;
|
return false;
|
||||||
if(!address.startsWith(addrPrefix) && !label.startsWith(addrPrefix))
|
if (!address.contains(addrPrefix, Qt::CaseInsensitive) && !label.contains(addrPrefix, Qt::CaseInsensitive))
|
||||||
return false;
|
return false;
|
||||||
if(amount < minAmount)
|
if(amount < minAmount)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue