Ticket #1272: diff.patch

File diff.patch, 843 bytes (added by tome, 3 years ago)

Patch to remove trailing | from file save dialog - locally fix crash on OSX on Save

  • lib/Padre/Wx/Main.pm

     
    46214621            $self, Wx::gettext('Save file as...'), 
    46224622            $self->{cwd}, 
    46234623            $filename, 
    4624             Wx::gettext('All Files') . ( Padre::Constant::WIN32 ? '|*.*|' : '|*|' ), 
     4624            Wx::gettext('All Files') . ( Padre::Constant::WIN32 ? '|*.*' : '|*' ), 
    46254625            Wx::wxFD_SAVE, 
    46264626        ); 
    46274627        if ( $dialog->ShowModal == Wx::wxID_CANCEL ) { 
     
    59185918    my $dialog = Wx::FileDialog->new( 
    59195919        $self,      Wx::gettext('Open file'), 
    59205920        $self->cwd, '', 
    5921         Wx::gettext('All Files') . ( Padre::Constant::WIN32 ? '|*.*|' : '|*|' ), 
     5921        Wx::gettext('All Files') . ( Padre::Constant::WIN32 ? '|*.*' : '|*' ), 
    59225922        Wx::wxFD_OPEN, 
    59235923    ); 
    59245924    if ( $dialog->ShowModal == Wx::wxID_CANCEL ) {