1
0
mirror of synced 2025-01-18 00:56:49 +01:00

fix: Certain language strings not loading correctly

This commit is contained in:
WerWolv 2024-02-23 20:33:39 +01:00
parent 2173707925
commit a7d6a4968e

View File

@ -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() {