From 12d483c977c5770b72b65262ea60c69786a55de2 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 6 Oct 2016 10:57:42 +0300 Subject: [PATCH] 0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateObjBrowser(1) --- src/SALOME_SWIG/test_big_table.py | 2 +- src/SALOME_SWIG/test_many_objects.py | 2 +- src/SALOME_SWIG/test_table.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SALOME_SWIG/test_big_table.py b/src/SALOME_SWIG/test_big_table.py index ef17c0542..f2aa597b6 100755 --- a/src/SALOME_SWIG/test_big_table.py +++ b/src/SALOME_SWIG/test_big_table.py @@ -66,6 +66,6 @@ for i in range(1,myVerNb+1): ARealTable.SetTitle("Very useful data") # >>> Updating Object Browser ================================================ -salome.sg.updateObjBrowser(1) +salome.sg.updateObjBrowser(True) # ============================================================================ diff --git a/src/SALOME_SWIG/test_many_objects.py b/src/SALOME_SWIG/test_many_objects.py index fc42958be..94df01f83 100755 --- a/src/SALOME_SWIG/test_many_objects.py +++ b/src/SALOME_SWIG/test_many_objects.py @@ -84,7 +84,7 @@ for i in range(0,myNb1): myBuilder.Addreference(myRefObject,myObject3); # >>> Updating Object Browser ================================================ -salome.sg.updateObjBrowser(1) +salome.sg.updateObjBrowser(True) # ============================================================================ diff --git a/src/SALOME_SWIG/test_table.py b/src/SALOME_SWIG/test_table.py index de3664eb8..e480f6ad8 100755 --- a/src/SALOME_SWIG/test_table.py +++ b/src/SALOME_SWIG/test_table.py @@ -109,7 +109,7 @@ ACmt = myBuilder.FindOrCreateAttribute(myCmtObject, "AttributeComment") ACmt.SetValue("Just a comment") # >>> Updating Object Browser ================================================ -salome.sg.updateObjBrowser(1) +salome.sg.updateObjBrowser(True) # ============================================================================ -- 2.39.2