Ticket #1182: padre-pluginmanager.patch

File padre-pluginmanager.patch, 558 bytes (added by mj41, 3 years ago)

patch to fix this (review needed)

  • Padre/lib/Padre/PluginManager.pm

     
    768768    my $name = shift; 
    769769 
    770770    my $plugin = $self->_plugin($name); 
     771    return $plugin->disable; 
     772} 
    771773 
    772     $plugin->disable; 
     774# Assume the named plug-in exists, enable it 
     775sub _plugin_enable { 
     776    my $self = shift; 
     777    my $name = shift; 
    773778 
     779    my $plugin = $self->_plugin($name); 
     780    return $plugin->enable; 
    774781} 
    775782 
     783 
    776784=pod 
    777785 
    778786=head2 C<plugin_db>