Changeset 7675


Ignore:
Timestamp:
03/23/11 09:34:53 (14 years ago)
Author:
jschierm
Message:

Ffielddisplay.m: display structure name and comment for empty structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/display/fielddisplay.m

    r4873 r7675  
    4040                %structure
    4141        elseif isstruct(field),
    42                 struct_display(field,offset),
     42                if ~isempty(fields(field))
     43                        struct_display(field,offset),
     44                else
     45                        displayunit(offset,name,'N/A',comment),
     46                end
    4347
    4448        %cell
Note: See TracChangeset for help on using the changeset viewer.