Commit 5e35a941 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Fix ignoring changes



Previously we were ignoring the changes but since the internal revision
was not the last one, akonadi would complain that there is a more
recent revision. This fix the issue.

Signed-off-by: Carl Schwan's avatarCarl Schwan <carl@carlschwan.eu>
parent aac375e3
Pipeline #243434 passed with stage
in 5 minutes and 20 seconds
......@@ -172,6 +172,9 @@ void Akonadi::AkonadiContactEditorPrivate::itemChanged(const Akonadi::Item &item
mParent->connect(job, &ItemFetchJob::result, mParent, [this](KJob *job) {
itemFetchDone(job);
});
} else {
// Still update the item so that the internal revision match
mItem = item;
}
delete dlg;
......
......@@ -144,6 +144,9 @@ void ContactGroupEditorPrivate::itemChanged(const Item &item, const QSet<QByteAr
itemFetchDone(job);
});
new WaitingOverlay(job, mParent);
} else {
// Still update the item so that the internal revision match
mItem = item;
}
delete dlg;
}
......
Supports Markdown
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