ensure custom bridges hyperlink opens a browser as per #520

This commit is contained in:
Miguel Jacq 2018-01-14 18:57:52 +11:00
parent bdb10b7eeb
commit 011b635cae
No known key found for this signature in database
GPG Key ID: 5418373DFF79BA19

View File

@ -135,6 +135,8 @@ class SettingsDialog(QtWidgets.QDialog):
self.tor_bridges_use_custom_radio.toggled.connect(self.tor_bridges_use_custom_radio_toggled)
self.tor_bridges_use_custom_label = QtWidgets.QLabel(strings._('gui_settings_tor_bridges_custom_label', True))
self.tor_bridges_use_custom_label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction)
self.tor_bridges_use_custom_label.setOpenExternalLinks(True)
self.tor_bridges_use_custom_textbox = QtWidgets.QPlainTextEdit()
self.tor_bridges_use_custom_textbox.setPlaceholderText('[address:port] [identifier]')