]> Creatis software - creaMaracasVisu.git/commitdiff
#3533 Update Curent contour and actual point ShowNPoints in Undo Redo
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 2 Aug 2023 16:40:46 +0000 (18:40 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 2 Aug 2023 16:40:46 +0000 (18:40 +0200)
lib/maracasVisuLib/src/interface/wxWindows/widgets/WidgetShowNPoints.cxx

index 36c6a840eb1893f82033e0fbbbc8a1cd4ef93265..058136452cd1a1c5918b2193c1a412ac7d563723 100644 (file)
@@ -1046,6 +1046,7 @@ void WidgetShowNPoints::TrackingPoint( )
         if (idTrack>=0)
         {
             UndoRedo_SaveCollection(); //A
+            GetModelShowNPoints()->SetIdCurrentPoint(idTrack);
             GetModelShowNPoints()->SetPointId_mReferencePoint(idTrack);
             
             RefreshCollectionText();