Ticket #1256: patch.diff

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

Least Impact Patch: Just add special case for menu items on MAC

  • lib/Padre/Wx/Action.pm

     
    171171    my $shortcut = $self->shortcut; 
    172172 
    173173    if ( $shortcut 
    174         and ( ( $shortcut eq 'F12' ) or ( $self->id == -1 or Padre::Constant::WIN32() ) ) ) 
     174        and ( ( $shortcut eq 'F12' )  
     175                      or ( $self->id == -1 or Padre::Constant::WIN32() or Padre::Constant::MAC()) ) ) 
    175176    { 
    176177        $label .= "\t" . $shortcut; 
    177178    }