From e91edfe34d88f2b2549dbcf194a7e69c963d4737 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 20 Mar 2019 12:17:48 +0100 Subject: [PATCH] QmlDesigner: Make error message selectable There is no immediate solution for the status bar, but texts from status bars are generally not selectable and cannot be copied. Task-number: QDS-518 Change-Id: Ide699c7ad26642ac716ab4ce7b315263d60facae Reviewed-by: Tim Jenssen --- src/plugins/qmldesigner/documentwarningwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmldesigner/documentwarningwidget.cpp b/src/plugins/qmldesigner/documentwarningwidget.cpp index a159e12f869..bab42723957 100644 --- a/src/plugins/qmldesigner/documentwarningwidget.cpp +++ b/src/plugins/qmldesigner/documentwarningwidget.cpp @@ -62,6 +62,7 @@ DocumentWarningWidget::DocumentWarningWidget(QWidget *parent) m_headerLabel->setFont(boldFont); m_messageLabel->setForegroundRole(QPalette::ToolTipText); m_messageLabel->setWordWrap(true); + m_messageLabel->setTextInteractionFlags(Qt::TextSelectableByMouse); m_ignoreWarningsCheckBox->setText(tr("Always ignore these warnings about features " "not supported by Qt Quick Designer."));