#520 trigger browser action properly in QLabel hyperlink

This commit is contained in:
Miguel Jacq 2017-12-27 20:08:38 +11:00
parent 5c390f1bd9
commit 25a83e4edf
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -72,6 +72,8 @@ class SettingsDialog(QtWidgets.QDialog):
# Stealth # Stealth
stealth_details = QtWidgets.QLabel(strings._("gui_settings_stealth_option_details", True)) stealth_details = QtWidgets.QLabel(strings._("gui_settings_stealth_option_details", True))
stealth_details.setWordWrap(True) stealth_details.setWordWrap(True)
stealth_details.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction)
stealth_details.setOpenExternalLinks(True)
self.stealth_checkbox = QtWidgets.QCheckBox() self.stealth_checkbox = QtWidgets.QCheckBox()
self.stealth_checkbox.setCheckState(QtCore.Qt.Unchecked) self.stealth_checkbox.setCheckState(QtCore.Qt.Unchecked)
self.stealth_checkbox.setText(strings._("gui_settings_stealth_option", True)) self.stealth_checkbox.setText(strings._("gui_settings_stealth_option", True))