commit aec53ae6af8c140ff9928ebeb6f59323d167fd9f
parent e1c1a9d6a2bb2020329040a72666ff42346e3678
Author: SomberNight <somber.night@protonmail.com>
Date: Sun, 26 May 2019 01:27:27 +0200
qt: "Help" and "?" buttons can show rich text
namely "Revealer" plugin uses rich text in its description
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git 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):