Changeset 221 for trunk/src/read_field.m


Ignore:
Timestamp:
Mar 12, 2011, 11:11:01 PM (13 years ago)
Author:
sommeria
Message:

various bug corrections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_field.m

    r186 r221  
    7575    if ~test_civx% read the field names on the interface get_field.
    7676        hget_field=findobj(allchild(0),'Name',GUIName);%find the get_field... GUI
    77         if isempty(hget_field)
     77        if isempty(hget_field)% open the GUI get_field if it is not found
    7878            hget_field= get_field(ObjectName);%open the get_field GUI
    79             set(hget_field,'Name',GUIName)
     79            set(hget_field,'Name',GUIName)%update the name of get_field (e.g. get_field_1)
    8080        end
    8181        hhget_field=guidata(hget_field);
    8282        %% update  the get_field GUI
     83        set(hhget_field.inputfile,'String',ObjectName)
    8384        set(hhget_field.list_fig,'Value',1)
    8485        funct_list=get(hhget_field.ACTION,'UserData');
Note: See TracChangeset for help on using the changeset viewer.