Quintiq file version 2.0
#parent: #root
Method NewSolverSetting (
  internal[GUIComponent] parent,
  SolverSettingGroup owner
) as SolverSetting id:Method_DialogCreateEditSolverSetting_NewSolverSetting
{
  #keys: '[122872.0.63759719]'
  Body:
  [*
    // Creates a new solver setting
    data := owner.SolverSetting( relshadow );
    
    Dialog.Data( data );
    
    if ( Dialog.DoModal( parent ) > 0 )
    {
      data.Commit();
    }
    
    return data.WrappedInstance();
  *]
}
