aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/wallet.qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-17 19:49:46 +0800
committerobscuren <geffobscura@gmail.com>2014-08-17 19:49:46 +0800
commit88655439a017ea74041d022a9f23a919d27f51e2 (patch)
tree1f83245dbb3d2d3efbcc98bb3a3215cdbbf628d5 /ethereal/assets/qml/wallet.qml
parente12abfd43b99e05a05957922f01e4f5460d286fb (diff)
downloaddexon-88655439a017ea74041d022a9f23a919d27f51e2.tar.gz
dexon-88655439a017ea74041d022a9f23a919d27f51e2.tar.zst
dexon-88655439a017ea74041d022a9f23a919d27f51e2.zip
Copy to clipboard hax
Diffstat (limited to 'ethereal/assets/qml/wallet.qml')
-rw-r--r--ethereal/assets/qml/wallet.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index 30e1071f7..45514f7c1 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -17,6 +17,17 @@ ApplicationWindow {
title: "Ethereal"
+ TextField {
+ id: copyElementHax
+ visible: false
+ }
+
+ function copyToClipboard(text) {
+ copyElementHax.text = text
+ copyElementHax.selectAll()
+ copyElementHax.copy()
+ }
+
// Takes care of loading all default plugins
Component.onCompleted: {
var historyView = addPlugin("./views/history.qml", {title: "History"})