Quintiq file version 2.0
#parent: #root
Method Edit (
  internal[GUIComponent] parent,
  KPISetting selection
) id:Method_DialogEditKPISetting_Edit
{
  #keys: '[138546.0.84218310]'
  Body:
  [*
    data := shadow( selection );
    
    Dialog.Data( data );
    
    if ( Dialog.DoModal( parent ) > 0 )
    {
      data.Commit();
    }
  *]
}
