Quintiq file version 2.0
#parent: Toolbar/btnOk
Response OnClick () id:Response_Toolbar_btnOk_OnClick
{
  #keys: '[110994.0.979662520]'
  Body:
  [*
    // Apply changes
    Dialog.ApplyChanges();
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return BaseRecipeIngredient::ValidateInput( feedback,
    		sanitycheckfeedback,
                                                Dialog.Data().WrappedInstance(),
                                                ApplicationLibMacroPlanner.FormatStringToReal( EditorMinimum.Text(), 0.0 ),
                                                ApplicationLibMacroPlanner.FormatStringToReal( EditorMaximum.Text(), 0.0 ),
                                                ApplicationLibMacroPlanner.FormatStringToReal( EditorNominal.Text(), 0.0 ) );
  *]
}
