Changeset 617


Ignore:
Timestamp:
Apr 24, 2013, 2:55:58 PM (12 years ago)
Author:
sommeria
Message:

minor cleaning. Option 'double -click' on mouse selection introduced on browser but commented.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_multimadoc.m

    r609 r617  
    1616function [XmlData,NbSlice_calib,time,errormsg]=read_multimadoc(RootPath,SubDir,RootFile,FileExt,i1_series,i2_series,j1_series,j2_series)
    1717errormsg='';
     18if ischar(RootPath)
     19    RootPath={RootPath};SubDir={SubDir};RootFile={RootFile};FileExt={FileExt};
     20end
    1821nbview=numel(RootPath);
    1922XmlData=cell(1,nbview);%initiate the structures containing the data from the xml file (calibration and timing)
  • trunk/src/uigetfile_uvmat.m

    r615 r617  
    199199function list_Callback(option,hObject,event)
    200200%------------------------------------------------------------------------
    201     set(hObject,'BackgroundColor',[1 1 0])% paint list in yellow to indicate action
     201hfig=get(hObject,'parent');%handle of the fig
     202% if ~strcmp(get(hfig,'SelectionType'),'open')
     203%     return %select double click
     204% end
     205set(hObject,'BackgroundColor',[1 1 0])% paint list in yellow to indicate action
    202206    drawnow
    203207list=get(hObject,'String');
    204208index=get(hObject,'Value');
    205 hfig=get(hObject,'parent');%handle of the fig
     209
    206210htitlebox=findobj(hfig,'tag','titlebox');  % display the new dir name 
    207211DirName=get(htitlebox,'String');
Note: See TracChangeset for help on using the changeset viewer.