mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 19:23:26 -03:00
Qt: Avoid invalidating the search filter, when it doesn't really change
This commit is contained in:
parent
b1f634242e
commit
c407c61c5b
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ void TransactionFilterProxy::setDateRange(const QDateTime &from, const QDateTime
|
||||||
|
|
||||||
void TransactionFilterProxy::setSearchString(const QString &search_string)
|
void TransactionFilterProxy::setSearchString(const QString &search_string)
|
||||||
{
|
{
|
||||||
|
if (m_search_string == search_string) return;
|
||||||
m_search_string = search_string;
|
m_search_string = search_string;
|
||||||
invalidateFilter();
|
invalidateFilter();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue