Explorar el Código

Fix persisting cross cursor bug

Michael Pitidis hace 13 años
padre
commit
f19eaf2522
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      canvas.py

+ 1 - 0
canvas.py

@@ -457,6 +457,7 @@ class Canvas(QWidget):
         self.repaint()
 
     def overrideCursor(self, cursor):
+        self.restoreCursor()
         self._cursor = cursor
         QApplication.setOverrideCursor(cursor)