Browse Source

qt update notifications: make url clickable; prevent multiple dialogs

password_lineedit
SomberNight 6 years ago
parent
commit
31c08db909
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/qt/main_window.py
  2. 2
      electrum/gui/qt/util.py

2
electrum/gui/qt/main_window.py

@ -628,7 +628,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
_("Uses icons from the Icons8 icon pack (icons8.com).")))
def show_update_check(self, version=None):
self._update_check = UpdateCheck(self, version)
self.gui_object._update_check = UpdateCheck(self, version)
def show_report_bug(self):
msg = ' '.join([

2
electrum/gui/qt/util.py

@ -846,6 +846,8 @@ class UpdateCheck(QWidget, PrintError):
self.content.addWidget(self.heading_label)
self.detail_label = QLabel()
self.detail_label.setTextInteractionFlags(Qt.LinksAccessibleByMouse)
self.detail_label.setOpenExternalLinks(True)
self.content.addWidget(self.detail_label)
self.pb = QProgressBar()

Loading…
Cancel
Save