Changeset 478


Ignore:
Timestamp:
10/26/08 03:34:58 (3 years ago)
Author:
szabgab
Message:

replace the _in_delete_editor by the _in_setup_editor flag

File:
1 edited

Legend:

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

    r476 r478  
    263263sub refresh_all { 
    264264    my $self = shift; 
    265     return if $self->{_in_setup_editor} or $self->{_in_delete_editor}; 
     265    return if $self->{_in_setup_editor}; 
    266266    my $doc  = $self->selected_document; 
    267267    $self->refresh_menu($doc); 
     
    284284    my ($self) = @_; 
    285285 
    286     return if $self->{_in_setup_editor} or $self->{_in_delete_editor}; 
     286    return if $self->{_in_setup_editor}; 
    287287 
    288288    my $pageid = $self->{notebook}->GetSelection(); 
     
    977977 
    978978    my $doc     = $self->selected_document or return; 
    979     local $self->{_in_delete_editor} = 1; 
     979    local $self->{_in_setup_editor} = 1; 
     980     
    980981 
    981982    if ( $doc->is_modified and not $doc->is_unused ) { 
Note: See TracChangeset for help on using the changeset viewer.