diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2017-09-25 23:23:46 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2017-11-10 11:50:05 +0000 |
commit | c407c61c5bd7a41dae23d280644d46a9883de6ae (patch) | |
tree | c5e51626e556f7dcb083ec384fc495964bc96a47 /src | |
parent | b1f634242e73b2ca7c486ac7a876e840188ff107 (diff) |
Qt: Avoid invalidating the search filter, when it doesn't really change
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/transactionfilterproxy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/transactionfilterproxy.cpp b/src/qt/transactionfilterproxy.cpp index 18366bc053..c912483093 100644 --- a/src/qt/transactionfilterproxy.cpp +++ b/src/qt/transactionfilterproxy.cpp @@ -68,6 +68,7 @@ void TransactionFilterProxy::setDateRange(const QDateTime &from, const QDateTime void TransactionFilterProxy::setSearchString(const QString &search_string) { + if (m_search_string == search_string) return; m_search_string = search_string; invalidateFilter(); } |