mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
Qt: Avoid invalidating the search filter, when it doesn't really change
This commit is contained in:
parent
b1f634242e
commit
c407c61c5b
@ -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…
Reference in New Issue
Block a user