mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 10:37:06 -07:00
Web UI: Improve language change behavior
This commit is contained in:
parent
1b7e681e6d
commit
381eaf4b53
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue