diff --git a/app/Widgets/FilterChoice.cpp b/app/Widgets/FilterChoice.cpp index 5d0143187eee5fa408239cac2a35ea96210a3470..d1bc16f13982d07483b4d531df6c64d05ee27ce8 100644 --- a/app/Widgets/FilterChoice.cpp +++ b/app/Widgets/FilterChoice.cpp @@ -353,7 +353,7 @@ void FilterChoice::showCustom(bool a){ } _a=false; if(a){ - if(!_blurChoices->currentIndex()>=0){ + if(_filterPath->text().toStdString().compare("/")==0){ _checkbox_2->setChecked(false); _checkbox_2->setEnabled(false); _label_3->setEnabled(false); @@ -379,7 +379,7 @@ void FilterChoice::currentBlurChanged(int a) updateDisplay(); if(_spinbox->isEnabled()) updateNormValue(); - + } /** @@ -720,7 +720,7 @@ void FilterChoice::updateNormValue(){ } } if(sum_pos + sum_neg != 0){ - normValue = sum_pos + sum_neg; + normValue = max(normValue, abs(sum_pos + sum_neg)); } else{ normValue = max(normValue, sum_pos);