diff --git a/src/ui/util/conf/ruletextparser.cpp b/src/ui/util/conf/ruletextparser.cpp index bef40395..732175ee 100644 --- a/src/ui/util/conf/ruletextparser.cpp +++ b/src/ui/util/conf/ruletextparser.cpp @@ -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);