Commit 304995de952293129709007685b7abec3889f733

Authored by tatiana
1 parent d0ee154b

FIX: Location and type values on measures notebook

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/gui/data_notebook.py
@@ -1120,7 +1120,7 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): @@ -1120,7 +1120,7 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
1120 1120
1121 1121
1122 def InsertNewItem(self, index=0, label="Measurement 1", colour=None, 1122 def InsertNewItem(self, index=0, label="Measurement 1", colour=None,
1123 - type_="LINEAR", location="SURFACE", value="0 mm"): 1123 + location="SURFACE", type_="LINEAR", value="0 mm"):
1124 self.InsertStringItem(index, "") 1124 self.InsertStringItem(index, "")
1125 self.SetStringItem(index, 1, label, 1125 self.SetStringItem(index, 1, label,
1126 imageId = self._list_index[index]) 1126 imageId = self._list_index[index])