impr: Store default setting when setting couldn't be loaded

This commit is contained in:
WerWolv
2024-02-11 11:44:58 +01:00
parent 5d405b4d10
commit 27b5d13733

View File

@@ -35,6 +35,7 @@ namespace hex::plugin::builtin {
widget->onChanged();
} catch (const std::exception &e) {
log::error("Failed to load setting [{} / {}]: {}", unlocalizedCategory.get(), unlocalizedName.get(), e.what());
widget->store();
}
}
}