1
0

qt update notifications: make url clickable; prevent multiple dialogs

This commit is contained in:
SomberNight
2019-01-27 14:42:37 +01:00
parent 138c98d7d8
commit 31c08db909
2 changed files with 3 additions and 1 deletions

View File

@@ -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([

View File

@@ -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()