1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

* Reset the model before applying a filter.

This commit is contained in:
Christian Muehlhaeuser
2013-06-12 06:21:19 +02:00
parent e3302a1365
commit b6cfe162aa

View File

@@ -101,6 +101,7 @@ TreeProxyModel::onModelReset()
void
TreeProxyModel::setFilter( const QString& pattern )
{
reset();
emit filteringStarted();
m_filter = pattern;