We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 874965b commit 9b6b4bcCopy full SHA for 9b6b4bc
src/napari_deeplabcut/_widgets.py
@@ -1108,6 +1108,7 @@ def __init__(
1108
self.setLayout(layout1)
1109
1110
def _map_individuals_to_bodyparts(self):
1111
+ self.id2label.clear() # Empty dict so entries are ordered as in the config
1112
for keypoint in self.store._keypoints:
1113
label = keypoint.label
1114
id_ = keypoint.id
@@ -1412,4 +1413,5 @@ def reset(self):
1412
1413
self.scheme_dict = {}
1414
for i in reversed(range(self._layout.count())):
1415
w = self._layout.itemAt(i).widget()
1416
+ w.setParent(None)
1417
self._layout.removeWidget(w)
0 commit comments