From 334100b09e0776b44e6fc353c1eec2220cfb45c4 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Tue, 17 Nov 2009 17:05:57 +0000 Subject: [PATCH] FIX: On untoggle zoom or zoomselect the cursor is setted to default cursor --- invesalius/data/viewer_slice.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index ebc7429..8566acb 100755 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -127,6 +127,8 @@ class Viewer(wx.Panel): self.ren = ren def append_mode(self, mode): + if "ZOOM" in self.modes or "ZOOMSELECT" in self.modes: + self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_DEFAULT)) #TODO: Temporary self.modes = [] -- libgit2 0.21.2