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

Bugfix, added missing initialization of calculateVariations field.

parent 55f9ab89
No related branches found
No related tags found
No related merge requests found
306
\ No newline at end of file
307
\ No newline at end of file
......@@ -2,9 +2,15 @@ function [] = checkboxCalculateVariations(~, event)
%CHECKBOXCALCULATEVARIATIONS Summary of this function goes here
% Detailed explanation goes here
global artoaWorkspace;
global artoaWorkspace artoaGui;
artoaWorkspace.trackParameter.calculateVariations = logical(event.Source.Value);
if nargin == 0
newValue = logical(artoaGui.trackParameter.checkboxCalculateVariations.Value);
else
newValue = logical(event.Source.Value);
end
artoaWorkspace.trackParameter.calculateVariations = newValue;
end
......@@ -28,9 +28,10 @@ if pForceOverwrite || ~isfield(artoaWorkspace, 'trackParameter')
% initialize settings
availableCallbacks = { ...
'checkboxDopplerCorrection', ...
'checkboxPlotResiduals', ...
'checkboxCalculateVariations', ...
'comboboxInterpolationMethod', ...
'comboboxSoundspeedMethod', ...
'checkboxPlotResiduals', ...
'inputOutputInterpolationInterval', ...
'inputGapSize', ...
'tableSoundSourceCombinationsEdit' ...
......
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