Commit 2196dab6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix import filters

parent c9805fac
Pipeline #22337 passed with stage
in 8 minutes and 5 seconds
......@@ -74,7 +74,7 @@ void ImportMailJobInterfaceImpl::importFilters(const QString &filename)
bool canceled = false;
MailCommon::FilterImporterExporter exportFilters;
QVector<MailCommon::MailFilter *> lstFilter = exportFilters.importFilters(canceled, MailCommon::FilterImporterExporter::KMailFilter, filename);
if (canceled) {
if (!canceled) {
MailCommon::FilterManager::instance()->appendFilters(lstFilter);
}
}
......
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