From cef4c262e983ffd7d5fcf9c631b2959ebedb9807 Mon Sep 17 00:00:00 2001 From: MrMirDan <58086007+MrMirDan@users.noreply.github.com> Date: Mon, 29 Sep 2025 05:50:18 +0300 Subject: [PATCH] fix: keyboard fix for api 'connection key' buttons (#1872) --- client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml b/client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml index 2ad818ea..91c9ce8d 100644 --- a/client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml +++ b/client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml @@ -56,7 +56,7 @@ PageType { text: qsTr("Copy key") leftImageSource: "qrc:/images/controls/copy.svg" - onClicked: { + clickedFunc: function() { ApiConfigsController.copyVpnKeyToClipboard() PageController.showNotificationMessage(qsTr("Copied")) } @@ -77,7 +77,7 @@ PageType { text: qsTr("Save key as a file") leftImageSource: "qrc:/images/controls/share-2.svg" - onClicked: { + clickedFunc: function() { var fileName = GC.isMobile() ? "amnezia_vpn_key.vpn" : SystemController.getFileName( @@ -110,7 +110,7 @@ PageType { text: qsTr("Show key text") leftImageSource: "qrc:/images/controls/eye.svg" - onClicked: { + clickedFunc: function() { PageController.showBusyIndicator(true) ApiConfigsController.prepareVpnKeyExport() PageController.showBusyIndicator(false)