Browse Source

qt: "Help" and "?" buttons can show rich text

namely "Revealer" plugin uses rich text in its description
regtest_lnd
SomberNight 6 years ago
parent
commit
aec53ae6af
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 6
      electrum/gui/qt/util.py

6
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):

Loading…
Cancel
Save