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/aver_stat.m

    r624 r633  
    177177for index=1:nbfield
    178178    update_waitbar(WaitbarHandle,index/nbfield)
    179     if ishandle(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue')
     179    if ~isempty(RUNHandle)&& ishandle(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue')
    180180        disp('program stopped by user')
    181181        break
Note: See TracChangeset for help on using the changeset viewer.