Эх сурвалжийг харах

Fix persisting cross cursor bug

Michael Pitidis 13 жил өмнө
parent
commit
f19eaf2522
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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)