From cfb1d1b442adfc370fec1565bdbd9e9d34edf3ea Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sat, 10 Oct 2015 18:51:11 -0700 Subject: [PATCH] Bad reference --- src/QmlControls/QGCCanvas.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/QmlControls/QGCCanvas.qml b/src/QmlControls/QGCCanvas.qml index 1b7d6e3b9..c7f0a12d9 100644 --- a/src/QmlControls/QGCCanvas.qml +++ b/src/QmlControls/QGCCanvas.qml @@ -9,9 +9,11 @@ import QGroundControl.ScreenTools 1.0 /// are switched. In order to fix this we ahve a signal hacked into ScreenTools to force /// a repaint. Canvas { + id: _root + Connections { target: ScreenTools - onRepaintRequested: arrowCanvas.requestPaint() + onRepaintRequested: _root.requestPaint() } } -- 2.22.0