[bugfix] allow picking of S phase in lower area of waveform plot

Fixes bug report #211
This commit is contained in:
Darius Arnold 2017-09-15 18:56:04 +02:00
parent 864f035456
commit 2e6c33de45

View File

@ -1601,6 +1601,7 @@ class PickDlg(QDialog):
return self.station return self.station
def getChannelID(self, key): def getChannelID(self, key):
if key < 0: key = 0
return self.multicompfig.getPlotDict()[int(key)][1] return self.multicompfig.getPlotDict()[int(key)][1]
def getTraceID(self, channels): def getTraceID(self, channels):