Commit 70aa7ba4 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Fix possible abort when creating incidences with tags

When a new incidence was created with a tag, a call chain ran from
`IncidenceChanger::CreatedFinished()` through
`ItemEditorPrivate::itemFetchResult()` to `IncidenceCategories::load()`
which did nothing; then `CombinedIncidenceEditor::load(Incidence::Ptr &)`
would Q_ASSERT because the categories editor was still dirty.
parent cec0a8ba
Pipeline #71003 failed with stage
in 5 minutes and 16 seconds
......@@ -39,6 +39,8 @@ void IncidenceCategories::onSelectionChanged(const Akonadi::Tag::List &list)
void IncidenceCategories::load(const KCalendarCore::Incidence::Ptr &incidence)
{
Q_UNUSED(incidence)
mDirty = false;
mWasDirty = false;
}
void IncidenceCategories::load(const Akonadi::Item &item)
......
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