From 25a83e4edf862791ca16697d2937685f5186c5a4 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Wed, 27 Dec 2017 20:08:38 +1100 Subject: [PATCH] #520 trigger browser action properly in QLabel hyperlink --- onionshare_gui/settings_dialog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/onionshare_gui/settings_dialog.py b/onionshare_gui/settings_dialog.py index df806a06..b9534511 100644 --- a/onionshare_gui/settings_dialog.py +++ b/onionshare_gui/settings_dialog.py @@ -72,6 +72,8 @@ class SettingsDialog(QtWidgets.QDialog): # Stealth stealth_details = QtWidgets.QLabel(strings._("gui_settings_stealth_option_details", True)) stealth_details.setWordWrap(True) + stealth_details.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) + stealth_details.setOpenExternalLinks(True) self.stealth_checkbox = QtWidgets.QCheckBox() self.stealth_checkbox.setCheckState(QtCore.Qt.Unchecked) self.stealth_checkbox.setText(strings._("gui_settings_stealth_option", True))