mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-26 19:22:59 -03:00
Move Alert dialog about restart into the conditional that fires only if locale was changed
This commit is contained in:
parent
29b1b97282
commit
9aa9dc39a1
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
||||||
notice = strings.translations[new_locale]['gui_settings_language_changed_notice']
|
notice = strings.translations[new_locale]['gui_settings_language_changed_notice']
|
||||||
else:
|
else:
|
||||||
notice = strings._('gui_settings_language_changed_notice')
|
notice = strings._('gui_settings_language_changed_notice')
|
||||||
Alert(self.common, notice, QtWidgets.QMessageBox.Information)
|
Alert(self.common, notice, QtWidgets.QMessageBox.Information)
|
||||||
|
|
||||||
# Save the new settings
|
# Save the new settings
|
||||||
settings.save()
|
settings.save()
|
||||||
|
|
Loading…
Add table
Reference in a new issue