mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02: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)
|
||||
{
|
||||
if (m_search_string == search_string) return;
|
||||
m_search_string = search_string;
|
||||
invalidateFilter();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue