[bugfix] closes #260 checking for filtertype first
This commit is contained in:
parent
9e75f8d4f2
commit
b3524c562d
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user