diff options
Diffstat (limited to 'framework/qml/SelectableLabel.qml')
-rw-r--r-- | framework/qml/SelectableLabel.qml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/qml/SelectableLabel.qml b/framework/qml/SelectableLabel.qml index 159a717f..4bb4eae9 100644 --- a/framework/qml/SelectableLabel.qml +++ b/framework/qml/SelectableLabel.qml | |||
@@ -30,10 +30,7 @@ Kube.Label { | |||
30 | Kube.TextButton { | 30 | Kube.TextButton { |
31 | id: button | 31 | id: button |
32 | text: qsTr("Copy") | 32 | text: qsTr("Copy") |
33 | onClicked: { | 33 | onClicked: clipboard.text = root.text |
34 | clipboard.text = root.text | ||
35 | menu.close() | ||
36 | } | ||
37 | Kube.Clipboard { | 34 | Kube.Clipboard { |
38 | id: clipboard | 35 | id: clipboard |
39 | } | 36 | } |