This has three benefits:
- factor some boilerplate code
- reduce the dependency on self.main_window in the address tab
- remove a QtWidgets.app reference that does not work with python6
Differential D18344
[electrum] add a copy_to_clipboard util function Authored by PiRK on Jul 9 2025, 09:12.
Details
This has three benefits:
Go the the address tab, right click on an address and try the 2 copy actions. Test this also with the env var QT_API=pyqt6
Diff Detail
Event Timeline
Comment Actions consistency: used named params only when the text argument is omitted. When we copy selected text from a QTextEdit we don't want to pass a confusing text="" param | ||||||||||||||