# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# See http://www.salome-platform.org/
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
from qt import *
import traceback
attr.SetValue( "Object " + str( __id__ ) )
attr = builder.FindOrCreateAttribute( object, "AttributeLocalID" )
attr.SetValue( __OBJECT_ID__ )
- sgPyQt.updateObjBrowser()
+ sg.updateObjBrowser(True)
pass
# ----------------------- #
sobj = iter.Value()
iter.Next()
builder.RemoveObjectWithChildren( sobj )
- sgPyQt.updateObjBrowser()
+ sg.updateObjBrowser(True)
pass
# ----------------------- #
if ( sobj ):
builder = study.NewBuilder()
builder.RemoveObject( sobj )
- sgPyQt.updateObjBrowser()
+ sg.updateObjBrowser(True)
pass
# ----------------------- #