Ver código fonte

Fix persisting cross cursor bug

Michael Pitidis 13 anos atrás
pai
commit
f19eaf2522
1 arquivos alterados com 1 adições e 0 exclusões
  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)