Quintiq file version 2.0
#parent: #root
Method Edit (
  internal[GUIComponent] parent,
  LibOpt_BT_ManualVersion selection
) id:Method_DialogLibOpt_BT_ManualVersion_Edit
{
  #keys: '[145592.0.281801875]'
  Body:
  [*
    data := shadow( selection );
    
    Dialog.CheckBoxIsActive().Checked( data.IsActive() )
    Dialog.Data( data );
    
    if ( Dialog.DoModal( parent ) > 0 )
    {
      data.Commit();
      Dialog.ToggleIsActive();
    }
  *]
}
