From aec53ae6af8c140ff9928ebeb6f59323d167fd9f Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sun, 26 May 2019 01:27:27 +0200 Subject: [PATCH] qt: "Help" and "?" buttons can show rich text namely "Revealer" plugin uses rich text in its description --- electrum/gui/qt/util.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/electrum/gui/qt/util.py b/electrum/gui/qt/util.py index 3279ea178..9c48f7ff4 100644 --- a/electrum/gui/qt/util.py +++ b/electrum/gui/qt/util.py @@ -133,7 +133,8 @@ class HelpButton(QPushButton): custom_message_box(icon=QMessageBox.Information, parent=self, title=_('Help'), - text=self.help_text) + text=self.help_text, + rich_text=True) class InfoButton(QPushButton): @@ -148,7 +149,8 @@ class InfoButton(QPushButton): custom_message_box(icon=QMessageBox.Information, parent=self, title=_('Info'), - text=self.help_text) + text=self.help_text, + rich_text=True) class Buttons(QHBoxLayout):