diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index e12d6680..54772bc3 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1601,6 +1601,7 @@ class PickDlg(QDialog): return self.station def getChannelID(self, key): + if key < 0: key = 0 return self.multicompfig.getPlotDict()[int(key)][1] def getTraceID(self, channels):