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 ca4e1988 authored by Laurent Montel's avatar Laurent Montel 😁

Show invalid filter dialog when action is not valid too

parent 89a3389e
......@@ -399,7 +399,7 @@ QList<MailFilter *> KMFilterListBox::filtersForSaving(bool closeAfterSaving, boo
MailFilter *f = new MailFilter(*itemFilter->filter()); // deep copy
const QString information = f->purify();
if (!f->isEmpty()) {
if (!f->isEmpty() && information.isEmpty()) {
// the filter is valid:
filters.append(f);
} else {
......
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