Commit c73b7e1b authored by sstucker's avatar sstucker
Browse files

Removed call to uistack in DisplayAxesSDG

parent a8bf4dd9
Loading
Loading
Loading
Loading
+10 −14
Original line number Diff line number Diff line
@@ -146,7 +146,6 @@ maingui.axesSDG.handles.ch = hCh(hCh>0);

% ADD SOURCE AND DETECTOR LABELS
hSD = zeros(nSrcs+nDets,1);
if isempty(maingui.axesSDG.handles.SD)
for idx1 = 1:nSrcs
    if ~isempty(find(MeasList(:,1)==idx1)) %#ok<*EFIND>
        hSD(idx1) = text( SD.SrcPos(idx1,1), SD.SrcPos(idx1,2), sprintf('%d', idx1), 'fontsize',fs, 'fontweight','bold', 'color','r' );
@@ -160,9 +159,6 @@ if isempty(maingui.axesSDG.handles.SD)
    end
end
maingui.axesSDG.handles.SD = hSD;
else
    uistack(maingui.axesSDG.handles.SD,'top')
end

% Turn off zoom but only for SDG axes
h=zoom;