commit 06a613ed0970f6773196eb690fdb811f5378410f
parent 4fdeb52f7db4c6bd5317e6bf55c62b421b213598
Author: ThomasV <thomasv@gitorious>
Date: Mon, 28 Jul 2014 10:17:05 +0200
copy to clipboard menu for receive address
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -741,6 +741,7 @@ class ElectrumWindow(QMainWindow):
def receive_list_menu(self, position):
item = self.receive_list.itemAt(position)
menu = QMenu()
+ menu.addAction(_("Copy to clipboard"), lambda: self.app.clipboard().setText(str(item.text(0))))
menu.addAction(_("Delete"), lambda: self.receive_list_delete(item))
menu.exec_(self.receive_list.viewport().mapToGlobal(position))