Fix calling paste from clipboard when launching app on android
This commit is contained in:
parent
ffe2314d47
commit
ef06fcb4f4
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue