Quintiq file version 2.0
#parent: #root
Method InitializeDropdownPuzzle () id:Method_DialogRunOptimizer_InitializeDropdownPuzzle
{
  #keys: '[146140.1.756206688]'
  Body:
  [*
    // Set DropdownPuzzle with the last used optimizerpuzzle
    lastUsedOptimizer := MacroPlan.LastUsedOptimizerPuzzle();
    
    if( isnull( lastUsedOptimizer ) )
    {
      lastUsedOptimizer := MacroPlan.OptimizerPuzzleWorld();
    }
    
    DropDownListPuzzle.Data( lastUsedOptimizer );
  *]
}
