mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-16 01:55:21 -04:00
Only show bridge error if connection type is bundled
This commit is contained in:
parent
f784870c76
commit
e6c7cc989f
2 changed files with 10 additions and 3 deletions
|
@ -799,7 +799,10 @@ class TorSettingsTab(QtWidgets.QWidget):
|
|||
settings.set("tor_bridges_use_moat", True)
|
||||
|
||||
moat_bridges = self.bridge_moat_textbox.toPlainText()
|
||||
if moat_bridges.strip() == "":
|
||||
if (
|
||||
self.connection_type_bundled_radio.isChecked()
|
||||
and moat_bridges.strip() == ""
|
||||
):
|
||||
self.error_label.setText(
|
||||
strings._("gui_settings_moat_bridges_invalid")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue