mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-14 18:06:30 -04:00
Move Alert dialog about restart into the conditional that fires only if locale was changed
This commit is contained in:
parent
e6b823f4be
commit
a700f8627d
@ -850,7 +850,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
||||
notice = strings.translations[new_locale]['gui_settings_language_changed_notice']
|
||||
else:
|
||||
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
|
||||
settings.save()
|
||||
|
Loading…
x
Reference in New Issue
Block a user