mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 20:04:14 -04:00
Merge branch '657_meek_warning' of https://github.com/mig5/onionshare into mig5-657_meek_warning
This commit is contained in:
commit
aaa860921a
2 changed files with 7 additions and 0 deletions
|
@ -496,6 +496,9 @@ class SettingsDialog(QtWidgets.QDialog):
|
|||
"""
|
||||
if checked:
|
||||
self.tor_bridges_use_custom_textbox_options.hide()
|
||||
# Alert the user about meek's costliness if it looks like they're turning it on
|
||||
if not self.old_settings.get('tor_bridges_use_meek_lite_amazon'):
|
||||
Alert(strings._('gui_settings_meek_lite_expensive_warning', True), QtWidgets.QMessageBox.Warning)
|
||||
|
||||
def tor_bridges_use_meek_lite_azure_radio_toggled(self, checked):
|
||||
"""
|
||||
|
@ -503,6 +506,9 @@ class SettingsDialog(QtWidgets.QDialog):
|
|||
"""
|
||||
if checked:
|
||||
self.tor_bridges_use_custom_textbox_options.hide()
|
||||
# Alert the user about meek's costliness if it looks like they're turning it on
|
||||
if not self.old_settings.get('tor_bridges_use_meek_lite_azure'):
|
||||
Alert(strings._('gui_settings_meek_lite_expensive_warning', True), QtWidgets.QMessageBox.Warning)
|
||||
|
||||
def tor_bridges_use_custom_radio_toggled(self, checked):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue