From f9fb7c09b999a74b97bc26449107375c8d6fd1bb Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 29 Aug 2006 11:06:58 +0000 Subject: [PATCH] updateModelRoot() invoked in any case. --- src/CAM/CAM_Study.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/CAM/CAM_Study.cxx b/src/CAM/CAM_Study.cxx index d874e5a3f..65ded0325 100755 --- a/src/CAM/CAM_Study.cxx +++ b/src/CAM/CAM_Study.cxx @@ -127,10 +127,8 @@ void CAM_Study::dataModelInserted( const CAM_DataModel* dModel ) openDataModel( studyName(), dm ); else // no, just need to update data model's connection to study tree //(some application may want to show model's root in a study tree even if a model is empty) - { dm->create( this ); - updateModelRoot( dm ); - } + updateModelRoot( dm ); } /*! \retval false*/ -- 2.39.2