浏览代码

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)