tqt update notifications: make url clickable; prevent multiple dialogs - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 31c08db9091ecbbec2130796e3ab11a46eec6896 DIR parent 138c98d7d88b2682cb148cdfd8c6c5463a022ed6 HTML Author: SomberNight <somber.night@protonmail.com> Date: Sun, 27 Jan 2019 14:42:37 +0100 qt update notifications: make url clickable; prevent multiple dialogs Diffstat: M electrum/gui/qt/main_window.py | 2 +- M electrum/gui/qt/util.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py t@@ -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([ DIR diff --git a/electrum/gui/qt/util.py b/electrum/gui/qt/util.py t@@ -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()