Salome HOME
Deleted deprecated parameter mpa/23299
authormpa <mpa@opencascade.com>
Fri, 3 Feb 2017 13:22:48 +0000 (16:22 +0300)
committermpa <mpa@opencascade.com>
Fri, 3 Feb 2017 13:22:48 +0000 (16:22 +0300)
src/PYLIGHTGUI/PYLIGHTGUI.py

index 14f3f02d79ce937e48b1926093aa8587d941ed76..03e8dbd5d94f8899300a6ff1b4bf0fcf3c52bdbb 100644 (file)
@@ -224,7 +224,7 @@ def loadfile():
                             "Error!",
                             "Can not read file:\n%s"%(filename))
         pass
-    sg.updateObjBrowser(True)
+    sg.updateObjBrowser()
     pass
 
 # Saving a text file
@@ -278,12 +278,12 @@ def insertLine():
         # If line not empty create first line
         if text != "\n":
             __data_model__.createObject(text,__data_model__.getParagraphs()[0])
-        sg.updateObjBrowser(True)
+        sg.updateObjBrowser()
         return
     # Create paragraph
     if text == "\n":
         __data_model__.createObject()
-        sg.updateObjBrowser(True)
+        sg.updateObjBrowser()
         return
     else:
         if selcount == 0:
@@ -298,7 +298,7 @@ def insertLine():
                 # Create line
                 if(obj.getText() == "\n"):
                     __data_model__.createObject(text,entry)
-                    sg.updateObjBrowser(True);
+                    sg.updateObjBrowser();
                     return
                 else:
                     QMessageBox.warning(sgPyQt.getDesktop(),
@@ -337,7 +337,7 @@ def editLine():
         QMessageBox.information(sgPyQt.getDesktop(),
                                 'Info',
                                 'Please, select one line!')
-    sg.updateObjBrowser(True);
+    sg.updateObjBrowser();
     pass
 
 # Remove selected lines
@@ -366,7 +366,7 @@ def removeLine():
                 pass
             pass
         __data_model__.removeObjects(lines)
-        sg.updateObjBrowser(True)
+        sg.updateObjBrowser()
         pass
     pass
 
@@ -384,7 +384,7 @@ def clearAll():
                 renderer.RemoveActor(actor)
                 pass
             pass
-    sg.updateObjBrowser(True)
+    sg.updateObjBrowser()
     pass
 
 # Display the selected line
@@ -418,7 +418,7 @@ def clearParagraph():
     global __data_model__
     lines = sgPyQt.getChildren(sg.getSelected(0))
     __data_model__.removeObjects(lines)
-    sg.updateObjBrowser(True)
+    sg.updateObjBrowser()
     pass
 
 # Erase the selected line