From 0ec083b46b1825a9f427f8530d0b1c1911c63c87 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 11 May 2007 10:50:52 +0000 Subject: [PATCH] NPAL15833: EDF406: Save icon is inactive when study is modified. --- src/PYHELLOGUI/PYHELLOGUI.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PYHELLOGUI/PYHELLOGUI.py b/src/PYHELLOGUI/PYHELLOGUI.py index 8afba72..8144c35 100644 --- a/src/PYHELLOGUI/PYHELLOGUI.py +++ b/src/PYHELLOGUI/PYHELLOGUI.py @@ -225,7 +225,7 @@ def CreateObject(): attr.SetValue( "Object " + str( __id__ ) ) attr = builder.FindOrCreateAttribute( object, "AttributeLocalID" ) attr.SetValue( __OBJECT_ID__ ) - sgPyQt.updateObjBrowser() + sg.updateObjBrowser(True) pass # ----------------------- # @@ -239,7 +239,7 @@ def DeleteAll(): sobj = iter.Value() iter.Next() builder.RemoveObjectWithChildren( sobj ) - sgPyQt.updateObjBrowser() + sg.updateObjBrowser(True) pass # ----------------------- # @@ -264,7 +264,7 @@ def Delete(): if ( sobj ): builder = study.NewBuilder() builder.RemoveObject( sobj ) - sgPyQt.updateObjBrowser() + sg.updateObjBrowser(True) pass # ----------------------- # -- 2.30.2