mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
settings: Add option for auto-loading patterns
This commit is contained in:
@@ -104,6 +104,9 @@ namespace hex {
|
||||
});
|
||||
|
||||
EventManager::subscribe<EventFileLoaded>(this, [this](const std::string &path) {
|
||||
if (!ContentRegistry::Settings::read("hex.builtin.setting.general", "hex.builtin.setting.general.auto_load_patterns", 1))
|
||||
return;
|
||||
|
||||
pl::Preprocessor preprocessor;
|
||||
|
||||
if (!ImHexApi::Provider::isValid())
|
||||
|
||||
Reference in New Issue
Block a user