Skip to content

Commit

Permalink
Qt: Avoid invalidating the search filter, when it doesn't really change
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Nov 10, 2017
1 parent b1f6342 commit c407c61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qt/transactionfilterproxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit c407c61

Please sign in to comment.