Commit e5c62ff6 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Preserve tags when creating instances

Pass an `Item` instead of an `Incidence` so that any tags added to the
new incidence will be passed along with it.
parent 86970a3e
Pipeline #49867 failed with stage
in 8 minutes and 14 seconds
......@@ -350,8 +350,7 @@ void EditorItemManager::save()
Q_EMIT itemSaveFinished(EditorItemManager::Modify);
} else {
KCalendarCore::Incidence::Ptr incidence = CalendarSupport::incidence(d->mItem);
d->mChanger->createIncidence(incidence, d->mItemUi->selectedCollection());
d->mChanger->createFromItem(d->mItem, d->mItemUi->selectedCollection());
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