Browse Source

ParameterEditorDialog: disable setting focus on mobile

mobile needs more testing before we can enable this.
A test on an android phone was successful however.
QGC4.4
Beat Küng 8 years ago
parent
commit
b9b1f1efac
  1. 2
      src/QmlControls/ParameterEditorDialog.qml

2
src/QmlControls/ParameterEditorDialog.qml

@ -88,7 +88,7 @@ QGCViewDialog { @@ -88,7 +88,7 @@ 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()
onVisibleChanged: if (visible && !ScreenTools.isMobile) valueField.forceActiveFocus()
QGCFlickable {
anchors.fill: parent

Loading…
Cancel
Save