Commit 765497ba336d967b69ef51a150738dddf6103a4d
1 parent
2a389e1f
Exists in
master
and in
6 other branches
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 | 933 | state = pubsub_evt.data |
934 | 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 | 941 | def ChangeBrushOperation(self, pubsub_evt): |
938 | 942 | #print pubsub_evt.data | ... | ... |