Changeset 9645


Ignore:
Timestamp:
12/13/09 00:17:46 (2 years ago)
Author:
szabgab
Message:

open selection looks for files relative to the project dir as well (without the lib)

File:
1 edited

Legend:

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

    r9640 r9645  
    29392939        } else { 
    29402940 
    2941             # relative to the project dir 
     2941            # relative to the project lib dir 
    29422942            my $filename = File::Spec->catfile( 
    29432943                $self->current->document->project_dir, 
     
    29462946            if ( -e $filename ) { 
    29472947                push @files, $filename; 
     2948            } 
     2949 
     2950            # relative to the project dir 
     2951            my $filename2 = File::Spec->catfile( 
     2952                $self->current->document->project_dir, 
     2953                $module, 
     2954            ); 
     2955            if ( -e $filename2 ) { 
     2956                push @files, $filename2; 
    29482957            } 
    29492958 
Note: See TracChangeset for help on using the changeset viewer.