mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-25 17:40:56 -04:00
Fix another two places where Alert was called without passing the common object
This commit is contained in:
parent
445a8423d5
commit
4bdbf3f152
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue