Quintiq file version 2.0
#parent: #root
Method EnableDisableComponents (
  OptimizerPuzzle optimizerpuzzle
) id:Method_DialogCreateEditOptimizerPuzzle_EnableDisableComponents
{
  #keys: '[146140.0.1876472430]'
  Body:
  [*
    // if the puzzle selected is World, disable edit
    
    isWorldSelected := optimizerpuzzle.IsWorld();
    
    EditorName.Enabled( not isWorldSelected );
    EditorDescription.Enabled( not isWorldSelected );
  *]
}
