diff Framework/Radiography/RadiographyScene.cpp @ 1272:a989c7d46b9a

options to avoid multiple LayerEditedMessage
author Alain Mazy <alain@mazy.be>
date Mon, 03 Feb 2020 14:56:56 +0100
parents 69177b10e2b9
children 398ea4259e65
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.cpp	Tue Jan 21 16:52:37 2020 +0100
+++ b/Framework/Radiography/RadiographyScene.cpp	Mon Feb 03 14:56:56 2020 +0100
@@ -229,6 +229,8 @@
       
       LOG(INFO) << "Removing layer, there are now : " << layers_.size() << " layers";
 
+      _OnLayerRemoved();
+
       BroadcastMessage(RadiographyScene::LayerRemovedMessage(*this, layerIndex));
     }
   }