From 10394d60a9ad85fb01cc0104682b5ac71457fdee Mon Sep 17 00:00:00 2001 From: Hamza ZOGHMAR Date: Thu, 26 Oct 2023 16:36:35 +0200 Subject: [PATCH] QGCTextField: fix forcing the use of virtual numeric keyboard --- src/QmlControls/QGCTextField.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QmlControls/QGCTextField.qml b/src/QmlControls/QGCTextField.qml index 560cf8f..89934a1 100644 --- a/src/QmlControls/QGCTextField.qml +++ b/src/QmlControls/QGCTextField.qml @@ -13,8 +13,8 @@ TextField { activeFocusOnPress: true antialiasing: true inputMethodHints: numericValuesOnly && !ScreenTools.isiOS ? - Qt.ImhNone : // iOS numeric keyboard has no done button, we can't use it. - Qt.ImhFormattedNumbersOnly // Forces use of virtual numeric keyboard instead of full keyboard + Qt.ImhFormattedNumbersOnly: // Forces use of virtual numeric keyboard instead of full keyboard + Qt.ImhNone // iOS numeric keyboard has no done button, we can't use it. property bool showUnits: false property bool showHelp: false