diff --git a/patroncards/edit-layout.pl b/patroncards/edit-layout.pl index 81df878385..fb495b166c 100755 --- a/patroncards/edit-layout.pl +++ b/patroncards/edit-layout.pl @@ -146,6 +146,8 @@ if ($op eq 'edit') { foreach my $unit (@$units){ if ($unit->{'type'} eq $layout->get_attr('units')) { $unit->{'selected'} = 1; + } else { + $unit->{'selected'} = 0; } }