Browse Source

Qt: Avoid invalidating the search filter, when it doesn't really change

0.16
Luke Dashjr 7 years ago
parent
commit
c407c61c5b
  1. 1
      src/qt/transactionfilterproxy.cpp

1
src/qt/transactionfilterproxy.cpp

@ -68,6 +68,7 @@ void TransactionFilterProxy::setDateRange(const QDateTime &from, const QDateTime @@ -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();
}

Loading…
Cancel
Save