|
From: Steven M. <sr...@us...> - 2005-03-12 03:00:57
|
Update of /cvsroot/instantobjects/Source/Design In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11156 Modified Files: InstantAttributeEditor.pas Log Message: Added fix for new attribute processing in Modelmaker. Index: InstantAttributeEditor.pas =================================================================== RCS file: /cvsroot/instantobjects/Source/Design/InstantAttributeEditor.pas,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** InstantAttributeEditor.pas 1 Mar 2005 06:48:01 -0000 1.14 --- InstantAttributeEditor.pas 12 Mar 2005 03:00:47 -0000 1.15 *************** *** 325,329 **** end; ! inherited; end; --- 325,335 ---- end; ! if not Assigned(FModel) then ! // Do not do SubjectExposer.PostChanges when called from ! // ModelMaker, otherwise Container Methods settings for a ! // new attribute are cleared. ! SaveData ! else ! inherited; end; *************** *** 510,515 **** EnableCtrl(ExternalStorageNameEdit, IsExternal and not (Subject.AttributeType = atPart)); ! EnableCtrl(AutoExternalStorageNameCheckBox, IsExternal ! and not (Subject.AttributeType = atPart)); EnableCtrl(SizeLabel, IsString); --- 516,521 ---- EnableCtrl(ExternalStorageNameEdit, IsExternal and not (Subject.AttributeType = atPart)); ! EnableCtrl(AutoExternalStorageNameCheckBox, ! ExternalStorageNameEdit.Enabled); EnableCtrl(SizeLabel, IsString); *************** *** 583,584 **** --- 589,591 ---- end. + |