From a700f8627d5d13f3eb03a1fc1cd780710d9cf9b1 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 1 Oct 2018 13:32:09 +1000 Subject: [PATCH] Move Alert dialog about restart into the conditional that fires only if locale was changed --- onionshare_gui/settings_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare_gui/settings_dialog.py b/onionshare_gui/settings_dialog.py index 794bd79c..5a81282a 100644 --- a/onionshare_gui/settings_dialog.py +++ b/onionshare_gui/settings_dialog.py @@ -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()