qt update notifications: make url clickable; prevent multiple dialogs
This commit is contained in:
@@ -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([
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user