mirror of
https://github.com/amnezia-vpn/DefaultVPN.git
synced 2026-05-17 08:36:37 +03:00
feature: add "Insert" button (#11)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user