fix: Invalid json comparison
This commit is contained in:
parent
3877f0853d
commit
b1edede53a
@ -162,7 +162,7 @@ namespace hex::plugin::builtin {
|
|||||||
static int selection = [&]() -> int {
|
static int selection = [&]() -> int {
|
||||||
u16 index = 0;
|
u16 index = 0;
|
||||||
for (auto &[languageCode, languageName] : languages) {
|
for (auto &[languageCode, languageName] : languages) {
|
||||||
if (languageCode == setting)
|
if (setting.get<std::string>() == languageCode)
|
||||||
return index;
|
return index;
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user