Skip to content

Commit

Permalink
bug fix when edit configuration of labels
Browse files Browse the repository at this point in the history
  • Loading branch information
delphinepilon committed Aug 9, 2024
1 parent 9da027b commit 2f68561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SlicerCART/src/SlicerCART.py
Original file line number Diff line number Diff line change
Expand Up @@ -2483,7 +2483,8 @@ def setup_configuration(self):
if self.general_config_yaml['slice_view_color'] == "Green":
slicer.app.layoutManager().setLayout(
slicer.vtkMRMLLayoutNode.SlicerLayoutOneUpGreenSliceView)


self.ui.dropDownButton_label_select.clear()
for label in self.label_config_yaml["labels"]:
self.ui.dropDownButton_label_select.addItem(label["name"])

Expand Down

0 comments on commit 2f68561

Please sign in to comment.