mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-06 04:18:42 -06:00
impr: Store default setting when setting couldn't be loaded
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user