Skip to content
Snippets Groups Projects
Commit a3ff58d5 authored by leprob001's avatar leprob001
Browse files

Added check if the figure exists for plot routine of edit time of arrival window.

parent 1c91108d
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,12 @@ else
y = artoaWorkspace.toaData.toa;
end
%% Check if the figure exists
if ~isfield(artoaGui.figures, 'editTimeOfArrival') ...
|| ~ishandle(artoaGui.figures.editTimeOfArrival)
return;
end
%% If the plot exists, just update the values
if isfield(artoaGui.editTimeOfArrival, 'scatterTimeOfArrival') ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment