Commit 63c55bed6351d6b8a7839da4575d0b2cd4083e53
1 parent
9c04ee14
Exists in
master
and in
68 other branches
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,7 +158,6 @@ class Viewer(wx.Panel): | ||
158 | "MouseMoveEvent": self.OnZoomMove, | 158 | "MouseMoveEvent": self.OnZoomMove, |
159 | "LeftButtonPressEvent": self.OnZoomClick, | 159 | "LeftButtonPressEvent": self.OnZoomClick, |
160 | "LeftButtonReleaseEvent": self.OnReleaseModes, | 160 | "LeftButtonReleaseEvent": self.OnReleaseModes, |
161 | - #"RightButtonReleaseEvent":self.OnUnZoom | ||
162 | }, | 161 | }, |
163 | 'CHANGESLICE':{ | 162 | 'CHANGESLICE':{ |
164 | "MouseMoveEvent": self.OnChangeSliceMove, | 163 | "MouseMoveEvent": self.OnChangeSliceMove, |
@@ -188,6 +187,8 @@ class Viewer(wx.Panel): | @@ -188,6 +187,8 @@ class Viewer(wx.Panel): | ||
188 | 187 | ||
189 | if ((mode == "ZOOM") or (mode == "ZOOMSELECT")): | 188 | if ((mode == "ZOOM") or (mode == "ZOOMSELECT")): |
190 | self.interactor.Bind(wx.EVT_LEFT_DCLICK, self.OnUnZoom) | 189 | self.interactor.Bind(wx.EVT_LEFT_DCLICK, self.OnUnZoom) |
190 | + else: | ||
191 | + self.interactor.Bind(wx.EVT_LEFT_DCLICK, None) | ||
191 | 192 | ||
192 | self.style = style | 193 | self.style = style |
193 | self.interactor.SetInteractorStyle(style) | 194 | self.interactor.SetInteractorStyle(style) |