mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-17 02:49:19 +00:00
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
b683118cd0
commit
094c35cffc
@ -35,7 +35,7 @@ bool TransactionFilterProxy::filterAcceptsRow(int sourceRow, const QModelIndex &
|
||||
return false;
|
||||
if(datetime < dateFrom || datetime > dateTo)
|
||||
return false;
|
||||
if(!address.startsWith(addrPrefix) && !label.startsWith(addrPrefix))
|
||||
if (!address.contains(addrPrefix, Qt::CaseInsensitive) && !label.contains(addrPrefix, Qt::CaseInsensitive))
|
||||
return false;
|
||||
if(amount < minAmount)
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user