Commit a15a1bbc authored by sstucker's avatar sstucker
Browse files

Stim values other than 1 won't crash StimEditGUI display

parent 2d2ec651
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -773,6 +773,8 @@ for ii=1:nStim
        linestyle = '--';
    elseif(s(lstR(ii),lstC(ii))==stimVals.excl_auto)
        linestyle = '-.';
    else
        linestyle = '-';
    end
    Lines(ii).handle = plot([1 1]*t(lstR(ii)), yy, linestyle, 'parent',handles.axes1);