Changeset 9757


Ignore:
Timestamp:
12/17/09 17:19:37 (2 years 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.

File:
1 edited

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; 
Note: See TracChangeset for help on using the changeset viewer.