From 212ed8b18bb658683f92762baa034f6f61e5234b Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sun, 23 Jun 2019 03:10:09 +0200 Subject: [PATCH] qt: set WWLabel text to be mouse-selectable by default this lets user to copy-paste text in e.g. many wizard dialogs --- electrum/gui/qt/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum/gui/qt/util.py b/electrum/gui/qt/util.py index b64223a1d..066e7bd15 100644 --- a/electrum/gui/qt/util.py +++ b/electrum/gui/qt/util.py @@ -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):