Commit 7438e3f3c617e61ff8af6522e77c6b89823daca3

Authored by Paulo Henrique Junqueira Amorim
1 parent b3e1f4b7

ENH: Add wxCursor in the editor cursor

Showing 1 changed file with 4 additions and 3 deletions   Show diff stats
invesalius/data/viewer_slice.py
... ... @@ -196,7 +196,7 @@ class Viewer(wx.Panel):
196 196 def __set_mode_editor(self, pubsub_evt):
197 197 self.append_mode('EDITOR')
198 198 self.mouse_pressed = 0
199   - self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK))
  199 + #self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK))
200 200  
201 201 def __set_mode_spin(self, pubsub_evt):
202 202 self.append_mode('SPIN')
... ... @@ -338,8 +338,9 @@ class Viewer(wx.Panel):
338 338 ps.Publisher().sendMessage('Update slice viewer')
339 339  
340 340 def OnEnterInteractor(self, obj, evt):
341   - self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK))
342   -
  341 + #self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK))
  342 + pass
  343 +
343 344 def OnLeaveInteractor(self, obj, evt):
344 345 for slice_data in self.slice_data_list:
345 346 slice_data.cursor.Show(0)
... ...