Skip to content

Commit 555ff5a

Browse files
authored
Revert "[NET-280] Max behavior select fix (#119)"
This reverts commit bd620a4.
1 parent bd620a4 commit 555ff5a

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

+nla/+inputField/Behavior.m

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -239,17 +239,13 @@ function read(obj, input_struct)
239239

240240
function buttonClickedCallback(obj, ~)
241241

242-
if ismac
243-
[file, path, idx] = uigetfile('*.*', 'Select Behavior File');
244-
else
245-
[file, path, idx] = uigetfile( ...
246-
{'*.txt;*.dat;*.csv', 'Text (*.txt,*.dat,*.csv)'; ...
247-
'*.xls;*.xlsb;*.xlsm;*.xlsx;*.xltm;*.xltx;*.ods', 'Spreadsheet (*.xls,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.ods)'; ...
248-
'*.xml', 'XML (*.xml)'; ...
249-
'*.docx', 'Word (*.docx)'; ...
250-
'*.mat', 'MATLAB table (*.mat)'; ...
251-
'*.html;*.xhtml;*.htm', 'HTML (*.html,*.xhtml,*.htm)'}, 'Select Behavior File');
252-
end
242+
[file, path, idx] = uigetfile( ...
243+
{'*.txt;*.dat;*.csv', 'Text (*.txt,*.dat,*.csv)'; ...
244+
'*.xls;*.xlsb;*.xlsm;*.xlsx;*.xltm;*.xltx;*.ods', 'Spreadsheet (*.xls,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.ods)'; ...
245+
'*.xml', 'XML (*.xml)'; ...
246+
'*.docx', 'Word (*.docx)'; ...
247+
'*.mat', 'MATLAB table (*.mat)'; ...
248+
'*.html;*.xhtml;*.htm', 'HTML (*.html,*.xhtml,*.htm)'}, 'Select Behavior File');
253249
if idx ~= 0
254250
try
255251
prog = uiprogressdlg(obj.fig, 'Title', 'Loading behavior file', 'Message', sprintf('Loading %s', file),...

0 commit comments

Comments
 (0)