Quintiq file version 2.0
#parent: #root
Method OnOK () id:Method_DialogEditKPIWeight_OnOK
{
  #keys: '[139394.0.452065132]'
  Body:
  [*
    // On ok
    isbatchedit := DataHolderKPIWeights.Data().Size() > 1
    
    if( isbatchedit )
    {
      Form.UpdateShadow();
    } 
    else
    {
      this.ApplyChanges();
    }
    DataHolderForm.Data().ShowHideComponents();
    
    this.Close();
  *]
}
