git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b683118
)
allow for filtering addresses and labels by searching for the typed string anywhere...
author
Wladimir J. van der Laan
<laanwj@gmail.com>
Thu, 24 Nov 2011 19:20:01 +0000 (20:20 +0100)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Fri, 25 Nov 2011 14:05:58 +0000 (09:05 -0500)
src/qt/transactionfilterproxy.cpp
patch
|
blob
|
history
diff --git
a/src/qt/transactionfilterproxy.cpp
b/src/qt/transactionfilterproxy.cpp
index
a4c5b37
..
16fb4da
100644
(file)
--- a/
src/qt/transactionfilterproxy.cpp
+++ b/
src/qt/transactionfilterproxy.cpp
@@
-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;