fix #680
authorThomasV <thomasv@gitorious>
Thu, 8 May 2014 17:12:13 +0000 (19:12 +0200)
committerThomasV <thomasv@gitorious>
Thu, 8 May 2014 17:12:13 +0000 (19:12 +0200)
gui/qt/__init__.py

index 07a449c..26cff8b 100644 (file)
@@ -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()