Skip to content

Commit 43bcee0

Browse files
committed
Fix label coloring
1 parent 2b03ca5 commit 43bcee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/napari_deeplabcut/_widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ def __init__(self, color: str, name: str, parent: QWidget):
10171017
self._part_name = name
10181018

10191019
self.color_label = QLabel("", parent=self)
1020-
self.part_label = ClickableLabel(name, parent=self)
1020+
self.part_label = ClickableLabel(name, color=color, parent=self)
10211021

10221022
self.color_label.setToolTip(name)
10231023
self.part_label.setToolTip(name)

0 commit comments

Comments
 (0)