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

The first 7 columns are now locked.

parent 25ba90a1
No related branches found
No related tags found
No related merge requests found
function [] = tableSoundsourceOffsetsEdit(~, ~) function [] = tableSoundsourceOffsetsEdit(~, event)
%TABLESOUNDSOURCEOFFSETSEDIT Summary of this function goes here %TABLESOUNDSOURCEOFFSETSEDIT Summary of this function goes here
% Detailed explanation goes here % Detailed explanation goes here
global artoaGui artoaWorkspace artoaDataInput; global artoaGui artoaWorkspace artoaDataInput;
%% Get data
try
selectedColumn = event.Indices(2);
selectedRow = event.Indices(:, 1);
catch
return;
end
%% Check if the column that has been edited is locked
if 1 <= selectedColumn & selectedColumn <= 7
artoa.controller.edit.offsets.updateGui();
return;
end
%% Save to workspace %% Save to workspace
artoaWorkspace.editOffsets.soundsourceOffsets(:, :) = artoaGui.editOffsets.tableSoundsourceOffsets.Data; artoaWorkspace.editOffsets.soundsourceOffsets(:, :) = artoaGui.editOffsets.tableSoundsourceOffsets.Data;
......
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