fix: In/Out variables not being added to the interface when using menu item to load pattern

This commit is contained in:
WerWolv
2022-07-01 19:56:28 +02:00
parent 710771b8b1
commit ab1f4df9d9
2 changed files with 3 additions and 1 deletions

View File

@@ -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("");
}