From 8ff7776df2c3148e8af0719b759c9576825ca269 Mon Sep 17 00:00:00 2001 From: MrMirDan <58086007+MrMirDan@users.noreply.github.com> Date: Mon, 12 May 2025 08:09:00 +0300 Subject: [PATCH] feature: add "Insert" button (#11) --- .../Pages/PageSetupWizardConfigSource.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/client/ui/qml/DefaultVpn/Pages/PageSetupWizardConfigSource.qml b/client/ui/qml/DefaultVpn/Pages/PageSetupWizardConfigSource.qml index 795fab9a..32a74130 100644 --- a/client/ui/qml/DefaultVpn/Pages/PageSetupWizardConfigSource.qml +++ b/client/ui/qml/DefaultVpn/Pages/PageSetupWizardConfigSource.qml @@ -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