aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorDavid Griffith <[email protected]>2013-03-09 00:37:21 -0800
committerDavid Griffith <[email protected]>2013-03-09 00:37:21 -0800
commit4db114667fe540fe6edf90e1db7f5c999b857e4d (patch)
tree8c7b8ab5351bbcd480ac7f4b0cd9b07e3aee6f86 /src/qt/guiutil.cpp
parentMerge pull request #2335 from petertodd/readme-typo (diff)
downloaddiscoin-4db114667fe540fe6edf90e1db7f5c999b857e4d.tar.xz
discoin-4db114667fe540fe6edf90e1db7f5c999b857e4d.zip
Also copy the address to the X11 clipboard (the one you middle-click to paste)
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r--src/qt/guiutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index d4e73adf9..2cbd6435c 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -159,7 +159,7 @@ void copyEntryData(QAbstractItemView *view, int column, int role)
if(!selection.isEmpty())
{
// Copy first item
- QApplication::clipboard()->setText(selection.at(0).data(role).toString());
+ QApplication::clipboard()->setText(selection.at(0).data(role).toString(),QClipboard::Selection);
}
}