Quintiq file version 2.0
#parent: #root
Method Edit (internal[GUIComponent] parent, KpiLabel selection) id:Method_Kpi_dlgKpiLabel_Edit
{
  #keys: '[146450.2.991356138]'
  Body:
  [*
    data := shadow( selection );
    
    Dialog.Data( data );
    
    // Disable EditorName from being overwritten.
    EditorName.Enabled( false );
    
    if ( Dialog.DoModal( parent ) > 0 )
    {
      data.Commit();
    }
  *]
}
