diff options
Diffstat (limited to 'qml/pages/MainPage.qml')
| -rw-r--r-- | qml/pages/MainPage.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 2a28eff..16a7908 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -199,7 +199,10 @@ Page { id: copyToClipboard enabled: passwordmaker.generator_state === 0 && passwordmaker.generated_password.length > 0 icon.source: "image://theme/icon-m-clipboard" - onClicked: Clipboard.text = passwordmaker.generated_password; + onClicked: { + Clipboard.text = passwordmaker.generated_password; + copiedNotice.show(); + } } } Timer { @@ -226,6 +229,11 @@ Page { text: qsTr("Saving settings failed.") useNotificationFallback: true } + NoticeOptional { + id: copiedNotice + text: qsTr("Copied") + useNotificationFallback: false + } Binding{ target: autoClearMasterPasswordTimer |
