Commit 63c55bed6351d6b8a7839da4575d0b2cd4083e53

Authored by Paulo Henrique Junqueira Amorim
1 parent 9c04ee14

ENH: removed unused "print's"

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
invesalius/data/viewer_slice.py
... ... @@ -158,7 +158,6 @@ class Viewer(wx.Panel):
158 158 "MouseMoveEvent": self.OnZoomMove,
159 159 "LeftButtonPressEvent": self.OnZoomClick,
160 160 "LeftButtonReleaseEvent": self.OnReleaseModes,
161   - #"RightButtonReleaseEvent":self.OnUnZoom
162 161 },
163 162 'CHANGESLICE':{
164 163 "MouseMoveEvent": self.OnChangeSliceMove,
... ... @@ -188,6 +187,8 @@ class Viewer(wx.Panel):
188 187  
189 188 if ((mode == "ZOOM") or (mode == "ZOOMSELECT")):
190 189 self.interactor.Bind(wx.EVT_LEFT_DCLICK, self.OnUnZoom)
  190 + else:
  191 + self.interactor.Bind(wx.EVT_LEFT_DCLICK, None)
191 192  
192 193 self.style = style
193 194 self.interactor.SetInteractorStyle(style)
... ...