[bugfix] closes #256, not asking for filteroptions if no filterphase
This commit is contained in:
parent
889628ceee
commit
a201b99c2e
@ -2093,7 +2093,10 @@ class PickDlg(QDialog):
|
|||||||
|
|
||||||
# get filter parameter for the phase to be picked
|
# get filter parameter for the phase to be picked
|
||||||
filterphase = self.currentFilterPhase()
|
filterphase = self.currentFilterPhase()
|
||||||
|
if filterphase:
|
||||||
filteroptions = self.getFilterOptions(filterphase).parseFilterOptions()
|
filteroptions = self.getFilterOptions(filterphase).parseFilterOptions()
|
||||||
|
else:
|
||||||
|
filteroptions = None
|
||||||
|
|
||||||
# copy and filter data for earliest and latest possible picks
|
# copy and filter data for earliest and latest possible picks
|
||||||
wfdata = self.getWFData().copy().select(channel=channel)
|
wfdata = self.getWFData().copy().select(channel=channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user