ability to select values in profile (closes #731)
This commit is contained in:
parent
d7c4933d87
commit
685d389fd9
1 changed files with 3 additions and 0 deletions
|
|
@ -279,6 +279,9 @@ class ContactProfile(QWidget):
|
||||||
logging.warning('Not supported value: %r' % node.value)
|
logging.warning('Not supported value: %r' % node.value)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if isinstance(value, QLabel):
|
||||||
|
value.setTextInteractionFlags(Qt.TextSelectableByMouse|Qt.TextSelectableByKeyboard|Qt.LinksAccessibleByMouse)
|
||||||
|
|
||||||
# Insert the value widget into the parent widget, depending
|
# Insert the value widget into the parent widget, depending
|
||||||
# of its type.
|
# of its type.
|
||||||
if isinstance(widget, QTabWidget):
|
if isinstance(widget, QTabWidget):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue