fix: Certain language strings not loading correctly
This commit is contained in:
parent
2173707925
commit
a7d6a4968e
@ -106,15 +106,13 @@ namespace hex {
|
||||
if (!loaded)
|
||||
store();
|
||||
|
||||
TaskManager::doLater([] {
|
||||
for (const auto &[category, rest] : *impl::s_onChangeCallbacks) {
|
||||
for (const auto &[name, callbacks] : rest) {
|
||||
for (const auto &[id, callback] : callbacks) {
|
||||
callback(getSetting(category, name, {}));
|
||||
}
|
||||
for (const auto &[category, rest] : *impl::s_onChangeCallbacks) {
|
||||
for (const auto &[name, callbacks] : rest) {
|
||||
for (const auto &[id, callback] : callbacks) {
|
||||
callback(getSetting(category, name, {}));
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
void store() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user