Commit 493b96d52467e626ab1e7b298ea1deedaa24a7ac
1 parent
2ac046a2
Exists in
surface_area
Updating surface info when overwriting surface
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
invesalius/gui/data_notebook.py
... | ... | @@ -850,6 +850,8 @@ class SurfacesListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): |
850 | 850 | self.UpdateItemInfo(index, name, volume, area, transparency, colour) |
851 | 851 | else: |
852 | 852 | self.InsertNewItem(index, name, volume, area, transparency, colour) |
853 | + else: | |
854 | + self.UpdateItemInfo(index, name, volume, area, transparency, colour) | |
853 | 855 | |
854 | 856 | def InsertNewItem(self, index=0, label="Surface 1", volume="0 mm3", |
855 | 857 | area="0 mm2", transparency="0%%", colour=None): | ... | ... |