From 381eaf4b530c29425bf194a101ce6bdcb7cc5b9a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 25 Sep 2011 10:55:56 +0300 Subject: [PATCH] Web UI: Improve language change behavior --- src/webui/httpconnection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webui/httpconnection.cpp b/src/webui/httpconnection.cpp index 3698110f1..b54a93925 100644 --- a/src/webui/httpconnection.cpp +++ b/src/webui/httpconnection.cpp @@ -445,6 +445,7 @@ void HttpConnection::respondCommand(QString command) QString json_str = parser.post("json"); EventManager* manager = httpserver->eventManager(); manager->setGlobalPreferences(json::fromJson(json_str)); + m_needsTranslation = !Preferences().getLocale().startsWith("en"); } if(command == "setFilePrio") { QString hash = parser.post("hash");