From f213e96d4a52c125e2061c55ce8a909a16b8e938 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 19 Oct 2024 17:12:53 +0200 Subject: [PATCH] Partial fix for issue #1902 --- src/ant/ant/antService.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ant/ant/antService.cc b/src/ant/ant/antService.cc index b42ae5012..8477b6231 100644 --- a/src/ant/ant/antService.cc +++ b/src/ant/ant/antService.cc @@ -1750,10 +1750,11 @@ Service::transform (const db::DCplxTrans &trans) if (robj) { // compute transformed object and replace + int id = robj->id (); ant::Object *rnew = new ant::Object (*robj); rnew->transform (trans); mp_view->annotation_shapes ().replace (s->first, db::DUserObject (rnew)); - annotation_changed_event (rnew->id ()); + annotation_changed_event (id); }