Changeset 5567


Ignore:
Timestamp:
04/02/10 10:59:59 (10 years ago)
Author:
ronosman
Message:

double check retrieved image cache.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/GUI/wxApp.pm

    r5539 r5567  
    173173    # to check if we can use stored cache 
    174174    $self->imagelist_version( 
    175         '15' 
     175        '16' 
    176176    ); 
    177177    $self->argv( 
     
    554554        else{ 
    555555            $use_new_imagelist = 1 unless $self->imagelist_version eq $stored_imagelist->{imagelist_version}; 
    556             if($use_new_imagelist){ 
    557                 Wx::LogMessage(gettext("pLoader has to reset image cache.")); 
    558                 # and silently clean layout 
    559                 $self->layout_clean(1); 
    560             } 
     556        } 
     557        $use_new_imagelist = 1 unless defined $stored_imagelist; 
     558 
     559                if($use_new_imagelist){ 
     560            Wx::LogMessage(gettext("pLoader has to reset image cache.")); 
     561            # and silently clean layout 
     562            $self->layout_clean(1); 
    561563        } 
    562564    } 
Note: See TracChangeset for help on using the changeset viewer.