Commit 738cfc0582a1efbd4e6f4d332d56879a4a3a45c8

Authored by tatiana
1 parent e74c7028

FIX: Measurements removal

Showing 1 changed file with 0 additions and 6 deletions   Show diff stats
invesalius/gui/data_notebook.py
... ... @@ -955,7 +955,6 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
955 955 """
956 956 Remove items selected.
957 957 """
958   - print "data_notebook: RemoveMeasurements"
959 958 # it is necessary to update internal dictionary
960 959 # that maps bitmap given item index
961 960 selected_items = self.GetSelected()
... ... @@ -1098,10 +1097,7 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
1098 1097  
1099 1098  
1100 1099 def AddItem_(self, pubsub_evt):
1101   - print "notebook: AddItem_"
1102   - print "self._list_index before:", self._list_index
1103 1100 index = pubsub_evt.data[0]
1104   - print "index", index
1105 1101 name = pubsub_evt.data[1]
1106 1102 colour = pubsub_evt.data[2]
1107 1103 location = pubsub_evt.data[3]
... ... @@ -1124,7 +1120,6 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
1124 1120  
1125 1121 def InsertNewItem(self, index=0, label="Measurement 1", colour=None,
1126 1122 type_="LINEAR", location="SURFACE", value="0 mm"):
1127   - print "InsertNewItem"
1128 1123 self.InsertStringItem(index, "")
1129 1124 self.SetStringItem(index, 1, label,
1130 1125 imageId = self._list_index[index])
... ... @@ -1136,7 +1131,6 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
1136 1131  
1137 1132 def UpdateItemInfo(self, index=0, label="Measurement 1", colour=None,
1138 1133 type_="LINEAR", location="SURFACE", value="0 mm"):
1139   - print "UpdateItemInfo"
1140 1134 self.SetStringItem(index, 1, label,
1141 1135 imageId = self._list_index[index])
1142 1136 self.SetStringItem(index, 2, type_)
... ...