Fix calling paste from clipboard when launching app on android

This commit is contained in:
albexk 2024-08-03 13:02:34 +03:00
parent ffe2314d47
commit ef06fcb4f4

View file

@ -20,7 +20,8 @@ Menu {
MenuItem {
text: qsTr("&Paste")
shortcut: StandardKey.Paste
enabled: textObj.canPaste
// Fix calling paste from clipboard when launching app on android
enabled: Qt.platform.os === "android" ? true : textObj.canPaste
onTriggered: textObj.paste()
}