Ignore:
Timestamp:
Mar 13, 2016, 6:29:07 PM (9 years ago)
Author:
sommeria
Message:

various

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/browse_data.m

    r924 r931  
    4747%------------------------------------------------------------------------
    4848% --- Executes just before browse_data is made visible.
    49 function browse_data_OpeningFcn(hObject, eventdata, handles, DataSeries,EnableMirror)
     49function browse_data_OpeningFcn(hObject, eventdata, handles, DataSeries,EnableMirror,MultiDevices)
    5050%------------------------------------------------------------------------
    5151
     
    7373set(hObject, 'Position', FigPos);
    7474set(hObject, 'Units', OldUnits);
     75if exist('MultiDevices','var') && strcmp(MultiDevices,'on')
     76    set(handles.ListDevices,'Max',2)
     77else
     78    set(handles.ListDevices,'Max',1)
     79end
    7580if exist('EnableMirror','var') && strcmp(EnableMirror,'on')
    7681    set(handles.CreateMirror,'Visible','on')
     
    608613    Campaign=get(handles.SourceDir,'String');
    609614end
     615handles.output=[];
    610616handles.output.Campaign=Campaign;
    611617Experiment=get(handles.ListExperiments,'String');
Note: See TracChangeset for help on using the changeset viewer.