From e8c18f7cb4bc29b596e69e5ae2110a0fca38f70a Mon Sep 17 00:00:00 2001 From: morg Date: Fri, 12 Nov 2021 23:13:24 +0100 Subject: [PATCH] Make the warning dialog support rich text format + make text selectable. --- qt/OpenRGBDialog2.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt/OpenRGBDialog2.cpp b/qt/OpenRGBDialog2.cpp index d41f3b66c..99872cd8a 100644 --- a/qt/OpenRGBDialog2.cpp +++ b/qt/OpenRGBDialog2.cpp @@ -1435,6 +1435,9 @@ void OpenRGBDialog2::onShowDialogMessage() box.exec(); + box.setTextFormat(Qt::RichText); + box.setTextInteractionFlags(Qt::TextSelectableByMouse|Qt::TextBrowserInteraction); + dialog_message.clear(); }