Ticket #1316: patch-Wx-Main.diff
| File patch-Wx-Main.diff, 706 bytes (added by mj41, 22 months ago) |
|---|
-
Padre/lib/Padre/Wx/Main.pm
3886 3886 } 3887 3887 } 3888 3888 3889 3889 3890 my $document = Padre::Document->new( filename => $file ) or return; 3890 3891 $file ||= ''; # to avoid warnings 3891 3892 if ( $document->errstr ) { … … 4072 4073 unless (@files) { 4073 4074 my $document = $current->document; 4074 4075 push @files, $document->guess_filename_to_open($text); 4076 unless (@files) { 4077 my $text_shortened = $text; 4078 $text_shortened =~ s{::[^\:]+$}{}; 4079 push @files, $document->guess_filename_to_open($text_shortened); 4080 4081 } 4075 4082 } 4076 4083 4077 4084 unless (@files) {
