mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
patterns: Added hidden attribute
This commit is contained in:
@@ -432,6 +432,8 @@ namespace hex::lang {
|
||||
currPattern->setVariableName(value->data());
|
||||
else if (attribute == "comment" && value.has_value())
|
||||
currPattern->setComment(value->data());
|
||||
else if (attribute == "hidden" && value.has_value())
|
||||
currPattern->setHidden(true);
|
||||
else
|
||||
this->getConsole().abortEvaluation("unknown or invalid attribute");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user