mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Fix empty selection in WebUI language combobox
This mostly happens with a clean install. PR #16978.
This commit is contained in:
@@ -1900,7 +1900,7 @@
|
||||
|
||||
// Web UI tab
|
||||
// Language
|
||||
$('locale_select').setProperty('value', pref.locale);
|
||||
$('locale_select').setProperty('value', ((pref.locale === "en_US") ? "en" : pref.locale));
|
||||
$('performanceWarning').setProperty('checked', pref.performance_warning);
|
||||
|
||||
// HTTP Server
|
||||
|
||||
Reference in New Issue
Block a user