Changeset 534 for trunk/src/mouse_down.m
- Timestamp:
- Aug 31, 2012, 4:20:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_down.m
r521 r534 181 181 182 182 %% delete the current zoom rectangle 183 if isfield(AxeData,'CurrentRectZoom') && ishandle(AxeData.CurrentRectZoom)183 if isfield(AxeData,'CurrentRectZoom') && ~isempty(AxeData.CurrentRectZoom) && ishandle(AxeData.CurrentRectZoom) 184 184 delete(AxeData.CurrentRectZoom) 185 185 AxeData.CurrentRectZoom=[]; … … 345 345 ObjectName=ObjectNameNew; 346 346 set(sethandles.Name,'String',ObjectName)% display the default name in set_object 347 if isempty(ListObject) 348 ListObject={ObjectName}; 349 else 347 350 ListObject{end}=ObjectName; 351 end 348 352 set(hhuvmat.ListObject,'String',ListObject);%complement the object list 349 353 set(hhuvmat.ListObject_1,'String',ListObject);%complement the object list
Note: See TracChangeset
for help on using the changeset viewer.