diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py index 07a449c51..26cff8b5b 100644 --- a/gui/qt/__init__.py +++ b/gui/qt/__init__.py @@ -243,6 +243,11 @@ class ElectrumGui: self.app.exec_() + # clipboard persistence + # see http://www.mail-archive.com/pyqt@riverbankcomputing.com/msg17328.html + event = QtCore.QEvent(QtCore.QEvent.Clipboard) + self.app.sendEvent(self.app.clipboard(), event) + wallet.stop_threads()