Changeset 9757

Show
Ignore:
Timestamp:
12/17/09 17:19:37 (9 months ago)
Author:
adamk
Message:

It looks weird to hide the function list when there's no functions.
Only hide it when there's no document at all.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/FunctionList.pm

    r9685 r9757  
    188188        my $document  = $current->document; 
    189189        my $functions = $self->{functions}; 
    190         unless ($document) { 
     190        unless ( $document ) { 
    191191                $functions->Clear; 
    192192                $self->{search}->Hide; 
     
    207207        if ( scalar @methods == 0 ) { 
    208208                $functions->Clear; 
    209                 $self->{search}->Hide; 
    210                 $self->{functions}->Hide; 
    211209                $self->{_methods} = []; 
    212210                return;