Explorar o código

Fix persisting cross cursor bug

Michael Pitidis %!s(int64=13) %!d(string=hai) anos
pai
achega
f19eaf2522
Modificáronse 1 ficheiros con 1 adicións e 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)