From c407c61c5bd7a41dae23d280644d46a9883de6ae Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Mon, 25 Sep 2017 23:23:46 +0000 Subject: [PATCH] Qt: Avoid invalidating the search filter, when it doesn't really change --- src/qt/transactionfilterproxy.cpp | 1 + 1 file changed, 1 insertion(+) 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(); }