mirror of https://github.com/WerWolv/ImHex.git
impr: Store default setting when setting couldn't be loaded
This commit is contained in:
parent
5d405b4d10
commit
27b5d13733
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue