Commit e11dda5a authored by sstucker's avatar sstucker
Browse files

Don't pass zero values of axesSDG.handles.SD to uistack

parent 6bfbc551
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ if isempty(maingui.axesSDG.handles.SD)
    end
    maingui.axesSDG.handles.SD = hSD;
else
    uistack(maingui.axesSDG.handles.SD,'top')
    uistack(nonzeros(maingui.axesSDG.handles.SD),'top')
end

% Turn off zoom but only for SDG axes