Commit 433d361a authored by Laurent Montel's avatar Laurent Montel 😁

Fix script

parent 725bbfdf
......@@ -350,7 +350,9 @@ void SieveConditionWidgetLister::loadTest(QXmlStreamReader &element, bool notCon
SieveConditionWidget *w = qobject_cast<SieveConditionWidget *>(widgets().constLast());
w->setCondition(conditionName, element, notCondition, error);
}
element.skipCurrentElement();
if (notCondition) {
element.skipCurrentElement();
}
#ifdef REMOVE_QDOMELEMENT
QDomElement testElement = element;
if (notCondition) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment