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 {
|
MenuItem {
|
||||||
text: qsTr("&Paste")
|
text: qsTr("&Paste")
|
||||||
shortcut: StandardKey.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()
|
onTriggered: textObj.paste()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue