From 765497ba336d967b69ef51a150738dddf6103a4d Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Tue, 26 Jan 2010 13:45:53 +0000 Subject: [PATCH] ENH: Hide default cursor in the editor mode --- invesalius/data/viewer_slice.py | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index 414ffe1..f35aab1 100755 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -933,6 +933,10 @@ class Viewer(wx.Panel): state = pubsub_evt.data self.SetInteractorStyle(state) + if (state != const.SLICE_STATE_EDITOR): + ps.Publisher().sendMessage('Set interactor default cursor') + + def ChangeBrushOperation(self, pubsub_evt): #print pubsub_evt.data -- libgit2 0.21.2