feature: add "Insert" button (#11)

This commit is contained in:
MrMirDan 2025-05-12 08:09:00 +03:00 committed by GitHub
parent aab022b4a0
commit 8ff7776df2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,6 +88,20 @@ Page {
placeholderText: qsTr("VPN://")
}
WhiteButtonWithBorder {
Layout.topMargin: 24
Layout.leftMargin: 16
Layout.rightMargin: 16
Layout.fillWidth: true
text: qsTr("Insert")
onClicked: function() {
textKey.text = ""
textKey.paste()
}
}
BlueButtonNoBorder {
Layout.topMargin: 24
Layout.leftMargin: 16