| Quintiq file version 2.0 | 
| #parent: #root | 
| Method SetAttributeBeforeApplyChanges () id:Method_SWF_DialogCreateEditActivity_SetAttributeBeforeApplyChanges | 
| { | 
|   #keys: '[113694.2.1230435378]' | 
|   Body: | 
|   [* | 
|     // Set attributes before apply changes to shadow | 
|     if( not SelectionParent.Enabled() ) | 
|     { | 
|       Dialog.Data().ParentStep( relset, null( SWF_Step ) ); | 
|     } | 
|      | 
|     if( not SelectionView.Enabled() ) | 
|     { | 
|       Dialog.Data().ViewLink( '' ); | 
|     } | 
|   *] | 
| } |