Link switches and their labels

This commit is contained in:
Veronica Berglyd Olsen committed 2025-05-11 18:08:33 +02:00
1 parent e200e6b900
commit 4e98914a8b
9 files changed
+137 -85

No files matched your search

+1
View File
@@ -100,6 +100,7 @@ class NSwitchBox(QScrollArea):
switch.toggled.connect(lambda state: self._emitSwitchSignal(identifier, state))
self._content.addWidget(switch, self._index, 2, QtAlignRight)
label.setBuddy(switch)
self._widgets.append(switch)
self._bumpIndex()