소스 검색

Fix persisting cross cursor bug

Michael Pitidis 13 년 전
부모
커밋
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)