From: ana Date: Fri, 5 Apr 2013 13:31:05 +0000 (+0000) Subject: 0022837: TC 6.4.0: Auto Color does not reset color of group of edges X-Git-Tag: V6_main_FINAL~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=97a6fbbebf9857838f2721f39b7f420e92ddf09f;p=modules%2Fgeom.git 0022837: TC 6.4.0: Auto Color does not reset color of group of edges --- diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx index 1c4f1c156..61a9883f8 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx @@ -187,7 +187,7 @@ void GEOMToolsGUI::OnAutoColor() SUIT_OverrideCursor(); appStudy->setObjectProperty( aMgrId, aChildObject->GetEntry(), GEOM::propertyName( GEOM::Color ), c ); - Handle( SALOME_InteractiveObject ) io = new SALOME_InteractiveObject( aChildObject->GetEntry(), "GEOM", "" ); + Handle( SALOME_InteractiveObject ) io = new SALOME_InteractiveObject( aChildObject->GetStudyEntry(), "GEOM", "" ); if ( window->isVisible( io ) ) displayer.Redisplay( io, false ); } displayer.UpdateViewer();