Quintiq file version 2.0
#parent: #root
Method EditUnitOfMeasure (
  UnitOfMeasure_MP selection,
  internal[GUIComponent] parent
) id:Method_DialogCreateEditUnitOfMeasure_EditUnitOfMeasure
{
  #keys: '[11660.0.257212458]'
  Body:
  [*
    // Edit unit of measurement
    Dialog.Data( selection );
    
    result := this.DoModal( parent );
    
    if ( result > 0 )
    {
      selection.Update( EditorName.Text(), selection.IsDefault(),  false );
    }
  *]
}
