From a3f3735c54dfc380aba91440f9916ece7597b968 Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 20 Nov 2018 00:51:43 +0100 Subject: [PATCH] Quick GUI: Improve fields --- qml/FieldsPage.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qml/FieldsPage.qml b/qml/FieldsPage.qml index 2d14845..e561295 100644 --- a/qml/FieldsPage.qml +++ b/qml/FieldsPage.qml @@ -48,7 +48,7 @@ Kirigami.ScrollablePage { 1), text) } Kirigami.Icon { - source: "handle-right" + source: "handle-left" width: Kirigami.Units.iconSizes.smallMedium height: Kirigami.Units.iconSizes.smallMedium Layout.fillHeight: true @@ -71,7 +71,8 @@ Kirigami.ScrollablePage { } Controls.MenuItem { icon.name: "edit-copy" - text: qsTr("Copy password") + text: model.isPassword ? qsTr("Copy password") : qsTr( + "Copy value") onClicked: showPassiveNotification( nativeInterface.copyToClipboard( model.actualValue) ? qsTr("Copied") : qsTr(