[bugfix] closes #256, not asking for filteroptions if no filterphase

This commit is contained in:
Marcel Paffrath 2018-04-04 15:16:36 +02:00
parent 889628ceee
commit a201b99c2e

View File

@ -2093,7 +2093,10 @@ class PickDlg(QDialog):
# get filter parameter for the phase to be picked
filterphase = self.currentFilterPhase()
if filterphase:
filteroptions = self.getFilterOptions(filterphase).parseFilterOptions()
else:
filteroptions = None
# copy and filter data for earliest and latest possible picks
wfdata = self.getWFData().copy().select(channel=channel)