electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 212ed8b18bb658683f92762baa034f6f61e5234b
parent 31ba440d1c3945cb4d7838c07d1993faadffbac6
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

this lets user to copy-paste text in e.g. many wizard dialogs

Diffstat:
Melectrum/gui/qt/util.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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):