cvs commit: p5ee/App-Widget/lib/App/Widget HierSelector.pm

[email protected] (Stephen Adkins)
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
cvsuser     06/02/28 12:39:11

  Modified:    App-Widget/lib/App/Widget HierSelector.pm
  Log:
  set(selected) instead of ->{selected}
  
  Revision  Changes    Path
  1.3       +4 -4      p5ee/App-Widget/lib/App/Widget/HierSelector.pm
  
  Index: HierSelector.pm
  ===================================================================
  RCS file: /cvs/public/p5ee/App-Widget/lib/App/Widget/HierSelector.pm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HierSelector.pm	27 Feb 2006 17:33:41 -0000	1.2
  +++ HierSelector.pm	28 Feb 2006 20:39:11 -0000	1.3
  @@ -222,12 +222,12 @@
           $nodenumber = "$nodebase.$nodeidx";
           if (!defined $node->{$nodenumber}) {
               if ($nodeidx == 1) {  # there are no leaves. $nodebase must be a leaf.
  -                $self->{selected} = $nodebase;
  +                $self->set("selected", $nodebase);
                   $found = 1;
               }
               else {  # no "open" leaves on this branch
                   $node->{"$nodebase.1"}{open} = 1;
  -                $self->{selected} = "$nodebase.1";
  +                $self->set("selected", "$nodebase.1");
                   $found = 1;
               }
           }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.