mirror of https://github.com/m-labs/artiq.git
waveform: fix in _AddChannelDialog
This commit is contained in:
parent
e72f37eb4e
commit
06b908fd18
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue