mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
Fix empty selection in WebUI language combobox
This mostly happens with a clean install. PR #16978.
This commit is contained in:
parent
ce0e5be7ce
commit
2a6f02fa29
@ -1900,7 +1900,7 @@
|
|||||||
|
|
||||||
// Web UI tab
|
// Web UI tab
|
||||||
// Language
|
// Language
|
||||||
$('locale_select').setProperty('value', pref.locale);
|
$('locale_select').setProperty('value', ((pref.locale === "en_US") ? "en" : pref.locale));
|
||||||
$('performanceWarning').setProperty('checked', pref.performance_warning);
|
$('performanceWarning').setProperty('checked', pref.performance_warning);
|
||||||
|
|
||||||
// HTTP Server
|
// HTTP Server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user