Skip to content

Commit

Permalink
Autocommit input text only on Android to avoid iOs double typing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed Oct 28, 2021
1 parent f8fe769 commit 10f2df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/qml/editor/inputtextedit.qml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ AbstractEditor {
editorValueChanged( val, val === "" )
}

onPreeditTextChanged: Qt.inputMethod.commit() // to avoid Android's uncommited text
onPreeditTextChanged: if ( __androidUtils.isAndroid ) Qt.inputMethod.commit() // to avoid Android's uncommited text
}
}

3 comments on commit 10f2df7

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: arm64-v8a (SDK: android-22)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: armeabi-v7a (SDK: android-22)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios-1.16.211028145122 (SDK: ios-16)

Please sign in to comment.