Quintiq file version 2.0
#parent: Toolbar/btnSaveMyPreferences
Response OnClick () id:Response_Toolbar_btnSaveMyPreferences_OnClick
{
  #keys: '[122872.1.828944327]'
  Body:
  [*
    // Apply changes
    Dialog.SavePreferences();
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    feedback :="";
    return MacroPlan.SmartPlanSetting().IsChanged( SelectionStrategy.Data().Name(),
                                                   CheckBoxOverrideManual.Checked(),
                                                   CheckBoxOnlyPlanOneStepUpstream.Checked(),
                                                   RadioButtonGroupUpstreamDownstream.BoundValue(),
                                                   CheckBoxIsSelectedUnits.Checked(),
                                                   DataHolderSelectedUnitsForSmartPlan.Data(),
                                                   feedback );
  *]
}
