Ignore:
Timestamp:
Dec 8, 2014, 1:04:22 AM (9 years ago)
Author:
sommeria
Message:

bugs corrected in uvmat: object deletion.
set_slices improved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/browse_data.m

    r827 r837  
    7373set(hObject, 'Position', FigPos);
    7474set(hObject, 'Units', OldUnits);
     75if exist('EnableMirror','var') && strcmp(EnableMirror,'on')
     76    set(handles.CreateMirror,'Visible','on')
     77    set(handles.mirror_txt,'Visible','on')
     78else
     79    set(handles.CreateMirror,'Visible','off')
     80    set(handles.mirror_txt,'Visible','off')
     81end
    7582if exist('Campaign','var')
    7683    [tild,CampaignName]=fileparts(Campaign);
    7784    RootXml=fullfile(Campaign,[CampaignName '.xml']);
    7885    s=[];
    79     if exist(RootXml,'file')
     86    if exist(RootXml,'file') 
    8087        [s,Heading]=xml2struct(RootXml);%read the xml file
    8188        if isfield(s,'SourceDir')
     
    104111    uiwait(handles.browse_data);
    105112end
    106 if exist('EnableMirror','var') && strcmp(EnableMirror,'on')
    107     set(handles.CreateMirror,'Visible','on')
    108 end
     113
    109114
    110115%------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.