summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--korganizer/koagenda.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index a2712f0a9..8329d161c 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -1126,9 +1126,6 @@ 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!
@@ -1147,6 +1144,9 @@ void KOAgenda::endItemAction()
break;
}
}
+
+ mActionItem->dissociateFromMultiItem();
+ mActionItem->setIncidence( incToChange );
}
}