From 685d389fd9d07281e0be3ca52f3e6d7af6c0fb45 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 27 Nov 2011 22:22:49 +0100 Subject: [PATCH] ability to select values in profile (closes #731) --- weboob/applications/qhavesex/contacts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/weboob/applications/qhavesex/contacts.py b/weboob/applications/qhavesex/contacts.py index c69bbf2e..db624345 100644 --- a/weboob/applications/qhavesex/contacts.py +++ b/weboob/applications/qhavesex/contacts.py @@ -279,6 +279,9 @@ class ContactProfile(QWidget): logging.warning('Not supported value: %r' % node.value) return + if isinstance(value, QLabel): + value.setTextInteractionFlags(Qt.TextSelectableByMouse|Qt.TextSelectableByKeyboard|Qt.LinksAccessibleByMouse) + # Insert the value widget into the parent widget, depending # of its type. if isinstance(widget, QTabWidget):