tqt: set WWLabel text to be mouse-selectable by default - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 212ed8b18bb658683f92762baa034f6f61e5234b DIR parent 31ba440d1c3945cb4d7838c07d1993faadffbac6 HTML Author: SomberNight <somber.night@protonmail.com> Date: Sun, 23 Jun 2019 03:10:09 +0200 qt: set WWLabel text to be mouse-selectable by default tthis lets user to copy-paste text in e.g. many wizard dialogs Diffstat: M electrum/gui/qt/util.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/qt/util.py b/electrum/gui/qt/util.py t@@ -92,6 +92,7 @@ class WWLabel(QLabel): def __init__ (self, text="", parent=None): QLabel.__init__(self, text, parent) self.setWordWrap(True) + self.setTextInteractionFlags(Qt.TextSelectableByMouse) class HelpLabel(QLabel):