Commit d48a532b authored by sstucker's avatar sstucker
Browse files

Fixed case where there is no HRF data

parent ccac9479
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -444,12 +444,14 @@ for iBlk=1:nDataBlks
    ml = plotprobe.dataTree.currElem.GetMeasList(iBlk);
    lst = find(ml.MeasList(:,4)==1);
    mlVis = ml.MeasListVis(lst);
    if ~isempty(plotprobe.handles.data{iBlk})
        if plotprobe.tMarkShow
            set(plotprobe.handles.data{iBlk}(logical(mlVis), 4:end), 'visible','on');
        else
            set(plotprobe.handles.data{iBlk}(:,4:end), 'visible', 'off');    
        end
    end
end