From: apo Date: Mon, 12 Dec 2005 12:57:30 +0000 (+0000) Subject: Minor changes X-Git-Tag: TG-D5-38-2003_D2005-20-12~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5e00a95875951c51f875e73aefd3a556a6b121e;p=modules%2Fvisu.git Minor changes --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index fab7a980..2f4191ef 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -421,7 +421,8 @@ CreateCurves( SalomeApp_Module* theModule, if ( aTblObj ) { _PTR(GenericAttribute) anAttr; if (aTblObj->FindAttribute( anAttr, "AttributeName" ) ) { - aBuilder->RemoveObjectWithChildren( aIter->Value() ); // We should have only one child + aBuilder->RemoveObjectWithChildren( aTblObj ); // We should have only one child + UpdateObjBrowser(theModule,true,aTblObj); break; } } diff --git a/src/VISUGUI/VisuGUI_Prs3dTools.h b/src/VISUGUI/VisuGUI_Prs3dTools.h index 1d255f22..9af013e1 100644 --- a/src/VISUGUI/VisuGUI_Prs3dTools.h +++ b/src/VISUGUI/VisuGUI_Prs3dTools.h @@ -163,6 +163,7 @@ namespace VISU dynamic_cast( aPrs3d ), aDlg, true ); // in creation mode + UpdateObjBrowser(theModule,true,theTimeStamp); QApplication::restoreOverrideCursor(); delete aDlg; } else { @@ -200,7 +201,6 @@ namespace VISU return; theModule->application()->putInfo(QObject::tr("INF_DONE")); - UpdateObjBrowser(theModule,true,aTimeStampSObj); typedef typename TViewer::TViewWindow TView; if(TView* aView = GetViewWindow(theModule,theIsCreateView))