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 {
|
||||
u16 index = 0;
|
||||
for (auto &[languageCode, languageName] : languages) {
|
||||
if (languageCode == setting)
|
||||
if (setting.get<std::string>() == languageCode)
|
||||
return index;
|
||||
index++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user