]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0022837: TC 6.4.0: Auto Color does not reset color of group of edges
authorana <ana@opencascade.com>
Fri, 5 Apr 2013 13:31:05 +0000 (13:31 +0000)
committerana <ana@opencascade.com>
Fri, 5 Apr 2013 13:31:05 +0000 (13:31 +0000)
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx

index 1c4f1c156dadd28bffa9a3ed139c0d57fab17e91..61a9883f86854a3811038f7503f9974fe635caf2 100644 (file)
@@ -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();