From: vsr Date: Mon, 19 Sep 2011 06:33:33 +0000 (+0000) Subject: Fix run-time error: add missing context prefix. X-Git-Tag: V6_4_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7e5b7a8205ee9c663dcc0d3de7d69adf28d4c80b;p=samples%2Fpyhello.git Fix run-time error: add missing context prefix. --- diff --git a/src/PYHELLOGUI/PYHELLOGUI.py b/src/PYHELLOGUI/PYHELLOGUI.py index 99a8524..0b19374 100644 --- a/src/PYHELLOGUI/PYHELLOGUI.py +++ b/src/PYHELLOGUI/PYHELLOGUI.py @@ -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