Merge pull request #919 from amnezia-vpn/fix/android-clipboard

Fix calling paste from clipboard when launching app on android
This commit is contained in:
pokamest 2024-08-06 12:42:11 +01:00 committed by GitHub
commit 1343d10aa7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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()
}