summaryrefslogtreecommitdiffstats
path: root/korganizer
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer')
-rw-r--r--korganizer/koagenda.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 8329d161c..a2712f0a9 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -1126,6 +1126,9 @@ void KOAgenda::endItemAction()
mChanger->changeIncidence( oldIncSaved, inc, wc, this );
+ mActionItem->dissociateFromMultiItem();
+ mActionItem->setIncidence( incToChange );
+
// mActionItem does not exist any more, seeing as we just got done deleting it
// (by deleting/replacing the original incidence it was created from through
// user modification of said incidence) above!
@@ -1144,9 +1147,6 @@ void KOAgenda::endItemAction()
break;
}
}
-
- mActionItem->dissociateFromMultiItem();
- mActionItem->setIncidence( incToChange );
}
}