qt update notifications: make url clickable; prevent multiple dialogs
This commit is contained in:
parent
138c98d7d8
commit
31c08db909
@ -628,7 +628,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||||||
_("Uses icons from the Icons8 icon pack (icons8.com).")))
|
_("Uses icons from the Icons8 icon pack (icons8.com).")))
|
||||||
|
|
||||||
def show_update_check(self, version=None):
|
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):
|
def show_report_bug(self):
|
||||||
msg = ' '.join([
|
msg = ' '.join([
|
||||||
|
|||||||
@ -846,6 +846,8 @@ class UpdateCheck(QWidget, PrintError):
|
|||||||
self.content.addWidget(self.heading_label)
|
self.content.addWidget(self.heading_label)
|
||||||
|
|
||||||
self.detail_label = QLabel()
|
self.detail_label = QLabel()
|
||||||
|
self.detail_label.setTextInteractionFlags(Qt.LinksAccessibleByMouse)
|
||||||
|
self.detail_label.setOpenExternalLinks(True)
|
||||||
self.content.addWidget(self.detail_label)
|
self.content.addWidget(self.detail_label)
|
||||||
|
|
||||||
self.pb = QProgressBar()
|
self.pb = QProgressBar()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user