mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-26 09:21:23 -05:00
Fix another two places where Alert was called without passing the common object
This commit is contained in:
parent
7e7611bc34
commit
f6b031bc2c
@ -503,7 +503,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
|||||||
self.tor_bridges_use_custom_textbox_options.hide()
|
self.tor_bridges_use_custom_textbox_options.hide()
|
||||||
# Alert the user about meek's costliness if it looks like they're turning it on
|
# 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'):
|
if not self.old_settings.get('tor_bridges_use_meek_lite_amazon'):
|
||||||
Alert(strings._('gui_settings_meek_lite_expensive_warning', True), QtWidgets.QMessageBox.Warning)
|
Alert(self.common, strings._('gui_settings_meek_lite_expensive_warning', True), QtWidgets.QMessageBox.Warning)
|
||||||
|
|
||||||
def tor_bridges_use_meek_lite_azure_radio_toggled(self, checked):
|
def tor_bridges_use_meek_lite_azure_radio_toggled(self, checked):
|
||||||
"""
|
"""
|
||||||
@ -513,7 +513,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
|||||||
self.tor_bridges_use_custom_textbox_options.hide()
|
self.tor_bridges_use_custom_textbox_options.hide()
|
||||||
# Alert the user about meek's costliness if it looks like they're turning it on
|
# 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'):
|
if not self.old_settings.get('tor_bridges_use_meek_lite_azure'):
|
||||||
Alert(strings._('gui_settings_meek_lite_expensive_warning', True), QtWidgets.QMessageBox.Warning)
|
Alert(self.common, strings._('gui_settings_meek_lite_expensive_warning', True), QtWidgets.QMessageBox.Warning)
|
||||||
|
|
||||||
def tor_bridges_use_custom_radio_toggled(self, checked):
|
def tor_bridges_use_custom_radio_toggled(self, checked):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user