Ignore:
Timestamp:
May 13, 2013, 8:45:45 PM (11 years ago)
Author:
sommeria
Message:

bug on waitbar corrected for background mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/time_series.m

    r624 r633  
    210210for index=1:nbfield
    211211            update_waitbar(WaitbarHandle,index/nbfield)
    212     if ishandle(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue')
     212    if ~isempty(RUNHandle) &&ishandle(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue')
    213213        disp('program stopped by user')
    214214        break % leave the loop if stop is ordered
Note: See TracChangeset for help on using the changeset viewer.