Commit 3e7d9375 authored by Don Gagne's avatar Don Gagne

Focus is still not working correctly

Causes UI to hang up
parent 3a1f28cc
......@@ -58,7 +58,7 @@ QGCViewDialog {
validationError.text = fact.validate(validateValue, false /* convertOnly */)
forceSave.visible = true
}
valueField.forceActiveFocus()
//valueField.forceActiveFocus()
}
Column {
......@@ -82,7 +82,7 @@ QGCViewDialog {
QGCTextField {
id: valueField
text: validate ? validateValue : fact.valueString
focus: true
//focus: true
// At this point all Facts are numeric
inputMethodHints: Qt.ImhFormattedNumbersOnly
......
......@@ -146,7 +146,7 @@ FactPanel {
viewPanel.enabled = false
__dialogOverlay.visible = true
__dialogComponentLoader.item.forceActiveFocus()
//__dialogComponentLoader.item.forceActiveFocus()
__animateShowDialog.start()
}
......@@ -174,7 +174,7 @@ FactPanel {
}
function hideDialog() {
__dialogComponentLoader.item.focus = false
//__dialogComponentLoader.item.focus = false
viewPanel.enabled = true
__animateHideDialog.start()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment