summaryrefslogtreecommitdiff
path: root/ui/control_editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'ui/control_editor.py')
-rw-r--r--ui/control_editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/control_editor.py b/ui/control_editor.py
index 5140bf3..111a71f 100644
--- a/ui/control_editor.py
+++ b/ui/control_editor.py
@@ -366,7 +366,7 @@ class ControlEditorDialog(QDialog):
for ch in dev.info.channels:
if not ch.enabled or not ch.writable:
continue
- self._ch_cb.addItem(f"{ch.channel_id} ({ch.name})",
+ self._ch_cb.addItem(f"{ch.name} ({ch.channel_id})",
userData=ch.channel_id)
# For Arduino backends also suggest digital pins for output
if hasattr(dev, "backend") and dev.backend == "arduino":