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

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