mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
#520 trigger browser action properly in QLabel hyperlink
This commit is contained in:
parent
5c390f1bd9
commit
25a83e4edf
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user