Commit b09904d8 authored by Beat Küng's avatar Beat Küng

ParameterEditorDialog: set focus to the text field when changing parameters

parent 8ed29860
......@@ -85,6 +85,11 @@ QGCViewDialog {
}
}
// set focus to the text field when becoming visible (in case of an Enum,
// the valueField is not visible, but it's not an issue because the combo
// box cannot have a focus)
onVisibleChanged: if (visible) valueField.forceActiveFocus()
QGCFlickable {
anchors.fill: parent
contentHeight: _column.y + _column.height
......
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