Przeglądaj źródła

Fix persisting cross cursor bug

Michael Pitidis 13 lat temu
rodzic
commit
f19eaf2522
1 zmienionych plików z 1 dodań i 0 usunięć
  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)