changeset 18:e12284a222ba

Fix resetting filters
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 14 Apr 2015 18:56:13 +0200
parents 73efe717b944
children 45553ac1eef8
files src/filterwidget.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
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);
 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)