From cf4d843e4bce364f1f97953517de4839f80099ba Mon Sep 17 00:00:00 2001 From: freesource Date: Sat, 8 Dec 2001 02:01:27 +0000 Subject: [PATCH] This remembers state for stages. --- BootRoot/YardBox.pm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/BootRoot/YardBox.pm b/BootRoot/YardBox.pm index 78e159f..f9807e6 100644 --- a/BootRoot/YardBox.pm +++ b/BootRoot/YardBox.pm @@ -909,8 +909,20 @@ sub yard_box { $one_by_one = $item_factory->get_item('/Edit/Stages/one-by-one'); $continuous = $item_factory->get_item('/Edit/Stages/continuous'); $user_defined = $item_factory->get_item('/Edit/Stages/user defined'); - $continuous->active(0); - $user_defined->active(0); + info(1,"STAGES $stages_bool\n"); + if ( $stages_bool eq "one-by-one" ) { + $continuous->active(0); + $user_defined->active(0); + } + elsif ( $stages_bool eq "continuous" ) { + $one_by_one->active(0); + $user_defined->active(0); + } + elsif ( $stages_bool eq "user-defined" ) { + $one_by_one->active(0); + $continuous->active(0); + } + # Stripping