From 140e0059e875b6b4cc2292b2e7b27e1d873b109b Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Mon, 2 Mar 2020 16:19:31 +0100 Subject: [PATCH] ui: Make content of help dialogs selectable (issue #805) --- src/lib_gui/qt/utility/QtHelpButtonInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib_gui/qt/utility/QtHelpButtonInfo.cpp b/src/lib_gui/qt/utility/QtHelpButtonInfo.cpp index d4f6e966..d0db07e8 100644 --- a/src/lib_gui/qt/utility/QtHelpButtonInfo.cpp +++ b/src/lib_gui/qt/utility/QtHelpButtonInfo.cpp @@ -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("" + m_title + ""); msgBox.setInformativeText(m_text); msgBox.setStandardButtons(QMessageBox::Ok);