waveform: fix in _AddChannelDialog

This commit is contained in:
Simon Renblad 2024-01-23 15:53:11 +08:00 committed by Sébastien Bourdeauducq
parent e72f37eb4e
commit 06b908fd18

View File

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