Quintiq file version 2.0
#parent: #root
Method EnableDisableMaxDuration (
  String text
) id:Method_DialogCreateEditCampaignType_EnableDisableMaxDuration
{
  #keys: '[146140.2.68855482]'
  Body:
  [*
    // Reset the default max duration value if it is unchecked
    
    if( text = Translations::MP_WebDesigner_Disable() )
    {
      DurationSelectorMaxDuration.Duration( Duration::Zero() );
    }
    
    DurationSelectorMaxDuration.Enabled( text = Translations::MP_WebDesigner_Enable(), '' );
  *]
}
