Salome HOME
Fix run-time error: add missing context prefix.
authorvsr <vsr@opencascade.com>
Mon, 19 Sep 2011 06:33:33 +0000 (06:33 +0000)
committervsr <vsr@opencascade.com>
Mon, 19 Sep 2011 06:33:33 +0000 (06:33 +0000)
src/PYHELLOGUI/PYHELLOGUI.py

index 99a85248b0bb169a7d2d92eb91e60a802a6af4e5..0b19374162f51868f6721f0592280034cd3adb20 100644 (file)
@@ -213,7 +213,7 @@ def initialize():
     if not sgPyQt.hasSetting( "PYHELLO", "creation_mode"):
         sgPyQt.addSetting( "PYHELLO", "creation_mode", 0 )
     if not sgPyQt.hasSetting( "PYHELLO", "Password"):
-        sgPyQt.addSetting( "PYHELLO", "Password", DEFAULT_PASSWD )
+        sgPyQt.addSetting( "PYHELLO", "Password", GUIcontext.DEFAULT_PASSWD )
     pass
 
 # called when module is initialized