waveform: fix in _AddChannelDialog

This commit is contained in:
Simon Renblad 2024-01-23 15:53:11 +08:00
parent 9c59690061
commit ad79ca3a19

View File

@ -205,7 +205,7 @@ class _AddChannelDialog(QtWidgets.QDialog):
key = self._model.index_to_key(select) key = self._model.index_to_key(select)
if key is not None: if key is not None:
width, ty = self._model[key].ref width, ty = self._model[key].ref
channels.append((key, width, ty, [])) channels.append([key, width, ty, []])
self.accepted.emit(channels) self.accepted.emit(channels)
self.close() self.close()