Mercurial > retraceit
diff src/filterwidget.cpp @ 18:e12284a222ba
Fix resetting filters
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 14 Apr 2015 18:56:13 +0200 |
parents | 73efe717b944 |
children | 6b9b5efcd7f4 |
line wrap: on
line diff
--- a/src/filterwidget.cpp Tue Apr 14 18:55:55 2015 +0200 +++ b/src/filterwidget.cpp Tue Apr 14 18:56:13 2015 +0200 @@ -45,11 +45,6 @@ void FilterWidget::filterChanged() { QString filterText = mEditLine->text(); - if (filterText.size() < 1) { - return; - } - qDebug() << "Filter on Column: " << mColFilterMap.value(mCombo->currentIndex()); - qDebug() << "Instead of: " << mCombo->currentIndex(); mModel->setFilterKeyColumn(mColFilterMap.value(mCombo->currentIndex())); mModel->setFilterWildcard(filterText); }