Quintiq file version 2.0
#parent: #root
Method EditGroup (
  Group selection,
  internal[GUIComponent] parent
) id:Method_DialogCreateEditGroup_EditGroup
{
  #keys: '[100628.0.166033917]'
  Body:
  [*
    // Edit group
    
    data := shadow( selection );
    Dialog.Data( data );
    
    result := Dialog.DoModal( parent );
    
    if( result > 0 )
    {
      selection.Update( EditorName.Text(),
                        data.IconForStockingPoints(),
                        data.IconForUnits(),
                        false );
    }
  *]
}
