forked from M-Labs/artiq
waveform: fix in _AddChannelDialog
This commit is contained in:
parent
9c59690061
commit
ad79ca3a19
@ -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
Block a user