[bugfix] closes #260 checking for filtertype first

This commit is contained in:
Marcel Paffrath 2018-07-24 14:15:32 +02:00
parent 9e75f8d4f2
commit b3524c562d

View File

@ -4773,6 +4773,9 @@ class FilterOptionsDialog(QDialog):
def checkMinMax(self):
returnvals = []
for foWidget in self.filterOptionWidgets.values():
if foWidget.filterOptions._filtertype in ['highpass', 'lowpass']:
returnvals.append(True)
continue
returnvals.append(foWidget.checkMin())
returnvals.append(foWidget.checkMax())
if all(returnvals):