Commit cddc25b0 authored by Laurent Montel's avatar Laurent Montel 😁

Don't add include empty name

parent d1eeb1fb
......@@ -116,7 +116,7 @@ void SieveIncludeActionWidget::loadScript(const QDomElement &element, QString &e
void SieveIncludeActionWidget::generatedScript(QString &script)
const QString includeName = mIncludeName->text();
if (includeName.isEmpty()) {
if (includeName.trimmed().isEmpty()) {
script += QLatin1String("include ");
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