Commit 765497ba336d967b69ef51a150738dddf6103a4d

Authored by Paulo Henrique Junqueira Amorim
1 parent 2a389e1f

ENH: Hide default cursor in the editor mode

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
invesalius/data/viewer_slice.py
@@ -933,6 +933,10 @@ class Viewer(wx.Panel): @@ -933,6 +933,10 @@ class Viewer(wx.Panel):
933 state = pubsub_evt.data 933 state = pubsub_evt.data
934 self.SetInteractorStyle(state) 934 self.SetInteractorStyle(state)
935 935
  936 + if (state != const.SLICE_STATE_EDITOR):
  937 + ps.Publisher().sendMessage('Set interactor default cursor')
  938 +
  939 +
936 940
937 def ChangeBrushOperation(self, pubsub_evt): 941 def ChangeBrushOperation(self, pubsub_evt):
938 #print pubsub_evt.data 942 #print pubsub_evt.data