UI: RuleTextParser::pushListNode: Use isNot

This commit is contained in:
Nodir Temirkhodjaev 2024-08-25 13:44:09 +05:00
parent 8b8f414100
commit 20593ef75e

View File

@ -180,7 +180,7 @@ int RuleTextParser::pushListNode(int listType)
const int listIndex = m_ruleExprArray.size();
RuleExpr ruleExpr;
ruleExpr.flags = FORT_RULE_EXPR_FLAG_LIST;
ruleExpr.flags = FORT_RULE_EXPR_FLAG_LIST | (m_isNot ? FORT_RULE_EXPR_FLAG_NOT : 0);
ruleExpr.type = listType;
m_ruleExprArray.append(ruleExpr);