From d17fd62868fb09dd82c71f1c88d4c35fc942e4fc Mon Sep 17 00:00:00 2001 From: Alexander Roessler Date: Thu, 29 Oct 2015 16:07:07 -0500 Subject: [PATCH] TouchOffDialog: defaulting combo box to g5xIndex --- src/applicationcontrols/TouchOffDialog.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applicationcontrols/TouchOffDialog.qml b/src/applicationcontrols/TouchOffDialog.qml index 6022d2c02..d4274245d 100644 --- a/src/applicationcontrols/TouchOffDialog.qml +++ b/src/applicationcontrols/TouchOffDialog.qml @@ -45,8 +45,8 @@ Dialog { onVisibleChanged: { if (visible) { _done = false - coordinateSpin.value = 0 - coordinateSystemCombo.currentIndex = 0 + coordinateSpin.value = 0.0 + coordinateSystemCombo.currentIndex = status.motion.g5xIndex - 1 } }