Quintiq file version 2.0
#parent: ListOptimizer
Response OnClick (
  LibOpt_Optimizer selection
) id:Response_ListOptimizer_MenuSettings_OnClick
{
  #keys: '[139164.3.1812457900]'
  Body:
  [*
    dialog := construct( DialogSettingsEngine );
    
    settings := selection.ActiveSettings();                         
    nvt := settings.Export();
                             
    if( dialog.Edit( this, nvt ) > 0 )
    {
      settings.Import( nvt );
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListOptimizer/Responsedef_ListOptimizer_Menu_OnClick
  Initiator: 'MenuSettings'
  Precondition:
  [*
    return selection.PreconditionSettingsDialog( feedback );
  *]
}
