Quintiq file version 2.0
#parent: Toolbar/btnOk
Response OnClick () id:Response_Toolbar_btnOk_OnClick
{
  #keys: '[11660.0.257210325]'
  Body:
  [*
    // Apply changes
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return UnitOfMeasure_MP::ValidateInput( feedback,
                                            sanitycheckfeedback,
                                            MacroPlan,
                                            EditorName.Text(),
                                            Dialog.Data(),
                                            true /*checkunique*/,
                                            1.0 /*a random number just to pass the precon */ );
  *]
  UserRequiresReadWrite: true
}
