From: Kevin A. <ka...@us...> - 2004-09-12 17:28:21
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24517/modules Modified Files: propertyEditor.py Log Message: added stringSelection to property display and update code Index: propertyEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/propertyEditor.py,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** propertyEditor.py 24 Aug 2004 19:01:37 -0000 1.52 --- propertyEditor.py 12 Sep 2004 17:28:12 -0000 1.53 *************** *** 203,207 **** value = self.components.wField.text ! if propName not in ['label', 'text', 'toolTip']: try: value = eval(value) --- 203,207 ---- value = self.components.wField.text ! if propName not in ['label', 'stringSelection', 'text', 'toolTip']: try: value = eval(value) *************** *** 362,366 **** ##widget = self.components[wName] widget = self._comp[wName] ! if propName in ['label', 'text', 'toolTip'] or propName in checkItems: value = getattr(widget, propName) else: --- 362,366 ---- ##widget = self.components[wName] widget = self._comp[wName] ! if propName in ['label', 'stringSelection', 'text', 'toolTip'] or propName in checkItems: value = getattr(widget, propName) else: |