Commit 6e10d502655b8e1890c4eef468a9c39b35085273
1 parent
4710eb3f
Exists in
master
and in
25 other branches
The location and type was inverted on the measurement datanotebook
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/gui/data_notebook.py
@@ -1158,7 +1158,7 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): | @@ -1158,7 +1158,7 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): | ||
1158 | self.Refresh() | 1158 | self.Refresh() |
1159 | 1159 | ||
1160 | def UpdateItemInfo(self, index=0, label="Measurement 1", colour=None, | 1160 | def UpdateItemInfo(self, index=0, label="Measurement 1", colour=None, |
1161 | - type_="LINEAR", location="SURFACE", value="0 mm"): | 1161 | + location="SURFACE", type_="LINEAR", value="0 mm"): |
1162 | self.SetStringItem(index, 1, label, | 1162 | self.SetStringItem(index, 1, label, |
1163 | imageId = self._list_index[index]) | 1163 | imageId = self._list_index[index]) |
1164 | self.SetStringItem(index, 2, location) | 1164 | self.SetStringItem(index, 2, location) |