Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 76473f65 authored by Laurent Montel's avatar Laurent Montel 😁

Inform when we try to create a empty folder name

parent 9d1d433e
......@@ -148,6 +148,8 @@ void SelectImapFolderWidget::createFolder()
}
//TODO more check for folder name ?
SelectImapFolderModel::self()->createNewFolder(mAccount, currentPath + QLatin1Char('/') + name);
} else {
KMessageBox::error(this, i18n("Empty folder name is not supported."), i18n("Create Folder"));
}
}
}
......
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