mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 04:41:36 +02:00
* Reset the model before applying a filter.
This commit is contained in:
@@ -101,6 +101,7 @@ TreeProxyModel::onModelReset()
|
|||||||
void
|
void
|
||||||
TreeProxyModel::setFilter( const QString& pattern )
|
TreeProxyModel::setFilter( const QString& pattern )
|
||||||
{
|
{
|
||||||
|
reset();
|
||||||
emit filteringStarted();
|
emit filteringStarted();
|
||||||
|
|
||||||
m_filter = pattern;
|
m_filter = pattern;
|
||||||
|
Reference in New Issue
Block a user