Commit 3fed4be2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Inform unsupported feature

parent 393d9121
......@@ -257,6 +257,9 @@ bool SieveActionWidget::setAction(const QString &actionName, const QDomElement &
KSieveUi::SieveAction *action = mActionList.at(index);
result = action->setParamWidgetValue(element, this, error);
action->setComment(comment);
} else {
error += i18n("Script contains unsupported feature \"%1\"", actionName);
qCDebug(LIBKSIEVE_LOG) << "Condition " << actionName << " not supported";
}
return result;
}
......
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