Skip to content
Snippets Groups Projects
Unverified Commit ec8f9f9b authored by Thomas Lambert's avatar Thomas Lambert
Browse files

fix(filesinput): issue when single file input and autosave

parent 4ae367f3
No related branches found
Tags v4.2.1
No related merge requests found
Pipeline #11850 passed
......@@ -36,6 +36,7 @@ function [filenames, filepaths, idxOpts] = parsefileinputs(optList, filetype, va
ext = ['*', filetype];
[filenames, filepaths] = uigetfile(ext, 'Select all dat-files to aggregate', ...
'MultiSelect', 'on');
filenames = string(filenames);
filepaths = repmat(string(filepaths), 1, length(filenames));
idxOpts = 1;
......
......@@ -139,7 +139,7 @@ function Dat = formatairfoilcoord(varargin)
end
% Output structure
Dat(i).path = fullpaths;
Dat(i).path = fullpaths{i};
Dat(i).file = allFileNames{i};
Dat(i).airfoil = char(cellstr(tmpAirfoil{:}));
Dat(i).format = outputFormat;
......
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