Quintiq file version 2.0
#parent: SelectionUnit
Response OnUserSelectionChanged () id:Response_SelectionUnit_OnUserSelectionChanged
{
  #keys: '[113694.0.997714970]'
  Body:
  [*
    // Update EditorID to have EditorName's value
    if( EditorName.Text() <> '' )
    {
      // Update EditorID to have EditorName's value
      ApplicationLibMacroPlanner.SetID( EditorID,
                                     Process_MP::GetConcatenatedID( this.Data(), EditorName.Text() ),
                                     Process_MP::GetConcatenatedID( Dialog.Data().Unit(), Dialog.Data().Name() ),
                                     Dialog.Data().ID() );
    }
    
    // Create default costs
    Dialog.EditCosts( SelectionUnit.Data() );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUISelectionBase_OnUserSelectionChanged'
}
