mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
fix: In/Out variables not being added to the interface when using menu item to load pattern
This commit is contained in:
@@ -699,6 +699,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
this->evaluatePattern(code);
|
||||
this->m_textEditor.SetText(code);
|
||||
this->parsePattern(code);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -706,6 +707,7 @@ namespace hex::plugin::builtin {
|
||||
if (!ImHexApi::Provider::isValid()) return;
|
||||
|
||||
ImHexApi::Provider::get()->getPatternLanguageRuntime().reset();
|
||||
this->parsePattern("");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user