Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
bcb69abd
Commit
bcb69abd
authored
Feb 14, 2017
by
Don Gagne
Browse files
DoubleValidator causing problems with regional settings
Causing data loss
parent
1a2ce057
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FactSystem/FactControls/FactTextField.qml
View file @
bcb69abd
...
@@ -20,10 +20,9 @@ QGCTextField {
...
@@ -20,10 +20,9 @@ QGCTextField {
property
string
_validateString
property
string
_validateString
// At this point all Facts are numeric
// At this point all Facts are numeric
validator
:
DoubleValidator
{}
inputMethodHints
:
ScreenTools
.
isiOS
?
inputMethodHints
:
ScreenTools
.
isiOS
?
Qt
.
ImhNone
:
// iOS numeric keyboard has not done button, we can't use it
Qt
.
ImhNone
:
// iOS numeric keyboard has not done button, we can't use it
Qt
.
ImhFormattedNumbersOnly
// Forces use of virtual numeric keyboard
Qt
.
ImhFormattedNumbersOnly
// Forces use of virtual numeric keyboard
onEditingFinished
:
{
onEditingFinished
:
{
if
(
typeof
qgcView
!==
'
undefined
'
&&
qgcView
)
{
if
(
typeof
qgcView
!==
'
undefined
'
&&
qgcView
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment