ui: Make content of help dialogs selectable (issue #805)

This commit is contained in:
Eberhard Graether
2020-03-02 16:19:31 +01:00
parent da7cd9411b
commit 140e0059e8
@@ -12,6 +12,7 @@ void QtHelpButtonInfo::displayMessage(QWidget* messageBoxParent)
QMessageBox msgBox(messageBoxParent);
msgBox.setWindowTitle(QStringLiteral("Sourcetrail"));
msgBox.setIcon(QMessageBox::Information);
msgBox.setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::LinksAccessibleByMouse);
msgBox.setText("<b>" + m_title + "</b>");
msgBox.setInformativeText(m_text);
msgBox.setStandardButtons(QMessageBox::Ok);