diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
index 18b5df3ba..93565c4aa 100644
--- a/gui/qt/main_window.py
+++ b/gui/qt/main_window.py
@@ -696,6 +696,11 @@ class ElectrumWindow(QMainWindow):
grid.addWidget(self.receive_address_e, 0, 1, 1, 3)
self.receive_address_e.textChanged.connect(self.update_receive_qr)
+ self.copy_button = QPushButton()
+ self.copy_button.setIcon(QIcon(":icons/copy.png"))
+ self.copy_button.clicked.connect(lambda: self.app.clipboard().setText(self.receive_address_e.text()))
+ grid.addWidget(self.copy_button, 0, 4)
+
self.receive_message_e = QLineEdit()
grid.addWidget(QLabel(_('Message')), 1, 0)
grid.addWidget(self.receive_message_e, 1, 1, 1, 3)
@@ -715,7 +720,7 @@ class ElectrumWindow(QMainWindow):
grid.setRowStretch(4, 1)
self.receive_qr = QRCodeWidget(fixedSize=200)
- grid.addWidget(self.receive_qr, 0, 4, 5, 2)
+ grid.addWidget(self.receive_qr, 0, 5, 5, 2)
self.receive_qr.mousePressEvent = lambda x: self.toggle_qr_window()
grid.setRowStretch(5, 1)
diff --git a/icons.qrc b/icons.qrc
index 437f85b9a..94fd43e3c 100644
--- a/icons.qrc
+++ b/icons.qrc
@@ -7,6 +7,7 @@
icons/clock4.png
icons/clock5.png
icons/confirmed.png
+ icons/copy.png
icons/expired.png
icons/key.png
icons/lock.png
diff --git a/icons/copy.png b/icons/copy.png
new file mode 100644
index 000000000..b82da41bf
Binary files /dev/null and b/icons/copy.png differ