Quintiq file version 2.0
#parent: Toolbar/ButtonOk
Response OnClick () id:Response_Toolbar_ButtonOk_OnClick
{
  #keys: '[11660.0.14168371]'
  Body:
  [*
    //Dialog.ApplyChanges();
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return ShiftPattern::ValidateInput( feedback,
                                        sanitycheckfeedback,
                                        MacroPlan,
                                        EditorName.Text(),
                                        guard ( [Number] EditorNumberOfDays.Text(), Number::MinNumber() ),
                                        Dialog.Data(),
                                        true );
  *]
}
