diff --git a/invesalius/gui/data_notebook.py b/invesalius/gui/data_notebook.py index 7e8dce4..536113c 100644 --- a/invesalius/gui/data_notebook.py +++ b/invesalius/gui/data_notebook.py @@ -850,6 +850,8 @@ class SurfacesListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): self.UpdateItemInfo(index, name, volume, area, transparency, colour) else: self.InsertNewItem(index, name, volume, area, transparency, colour) + else: + self.UpdateItemInfo(index, name, volume, area, transparency, colour) def InsertNewItem(self, index=0, label="Surface 1", volume="0 mm3", area="0 mm2", transparency="0%%", colour=None): -- libgit2 0.21.2