1
0

qt: set WWLabel text to be mouse-selectable by default

this lets user to copy-paste text in e.g. many wizard dialogs
This commit is contained in:
SomberNight
2019-06-23 03:10:09 +02:00
parent 31ba440d1c
commit 212ed8b18b

View File

@@ -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):