Commit ced29bd1a81a18150840def00ebc44d15f232d65
1 parent
7ac25597
Exists in
master
and in
68 other branches
ENH: Mouse cursor disappearing when enter in the interactor when in editor mode
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
invesalius/data/viewer_slice.py
... | ... | @@ -132,8 +132,7 @@ class Viewer(wx.Panel): |
132 | 132 | action[mode][event]) |
133 | 133 | |
134 | 134 | def OnEnterInteractor(self, obj, evt): |
135 | - mouse_cursor = wx.StockCursor(wx.CURSOR_BLANK) | |
136 | - self.SetCursor(mouse_cursor) | |
135 | + self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK)) | |
137 | 136 | |
138 | 137 | def OnLeaveInteractor(self, obj, evt): |
139 | 138 | for slice_data in self.slice_data_list: | ... | ... |