Commit 334100b09e0776b44e6fc353c1eec2220cfb45c4

Authored by tfmoraes
1 parent c9f24a3e

FIX: On untoggle zoom or zoomselect the cursor is setted to default cursor

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
invesalius/data/viewer_slice.py
... ... @@ -127,6 +127,8 @@ class Viewer(wx.Panel):
127 127 self.ren = ren
128 128  
129 129 def append_mode(self, mode):
  130 + if "ZOOM" in self.modes or "ZOOMSELECT" in self.modes:
  131 + self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_DEFAULT))
130 132  
131 133 #TODO: Temporary
132 134 self.modes = []
... ...