From bcb69abd0c693aab84fcc4d5bb2d9190008af6ac Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 14 Feb 2017 17:09:09 -0800 Subject: [PATCH] DoubleValidator causing problems with regional settings Causing data loss --- src/FactSystem/FactControls/FactTextField.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/FactSystem/FactControls/FactTextField.qml b/src/FactSystem/FactControls/FactTextField.qml index bf0b4f9..b2e5087 100644 --- a/src/FactSystem/FactControls/FactTextField.qml +++ b/src/FactSystem/FactControls/FactTextField.qml @@ -20,10 +20,9 @@ QGCTextField { property string _validateString // At this point all Facts are numeric - validator: DoubleValidator {} - inputMethodHints: ScreenTools.isiOS ? - Qt.ImhNone : // iOS numeric keyboard has not done button, we can't use it - Qt.ImhFormattedNumbersOnly // Forces use of virtual numeric keyboard + inputMethodHints: ScreenTools.isiOS ? + Qt.ImhNone : // iOS numeric keyboard has not done button, we can't use it + Qt.ImhFormattedNumbersOnly // Forces use of virtual numeric keyboard onEditingFinished: { if (typeof qgcView !== 'undefined' && qgcView) {