mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
web: Make sure settings are loaded correctly
This commit is contained in:
@@ -66,6 +66,14 @@ namespace hex {
|
||||
} else {
|
||||
s_settings = nlohmann::json::parse(data);
|
||||
}
|
||||
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user