Commit 1d172b23 authored by Panos Mavrogiorgos's avatar Panos Mavrogiorgos Committed by David Gobbi
Browse files

Fixed bug in ShowCursor method. 'cursor' should be 'qt_cursor'.

Change-Id: I9b12d7cc0b14aefef765b60f950ebb8a74b5acd7
parent c0a94522
......@@ -217,7 +217,7 @@ class QVTKRenderWindowInteractor(QtGui.QWidget):
"""Shows the cursor."""
vtk_cursor = self._Iren.GetRenderWindow().GetCurrentCursor()
qt_cursor = self._CURSOR_MAP.get(vtk_cursor, QtCore.Qt.ArrowCursor)
self.setCursor(cursor)
self.setCursor(qt_cursor)
def sizeHint(self):
return QtCore.QSize(400, 400)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment