Quintiq file version 2.0
#parent: #root
Method ChangeActionLinkTextQuantity (
  String text
) id:Method_DialogCreateEditCampaignType_ChangeActionLinkTextQuantity
{
  #keys: '[146140.2.68324121]'
  Body:
  [*
    // Check the text to opposite value
    
    newText := Translations::MP_WebDesigner_Enable();
    
    if( text = Translations::MP_WebDesigner_Enable() )
    {
      newText := Translations::MP_WebDesigner_Disable();
    }
    
    EditFieldDefaultMaxQty.ActionLinkText( newText );
  *]
}
