Changeset 456 for trunk/src/mouse_down.m


Ignore:
Timestamp:
Jun 17, 2012, 10:50:20 PM (12 years ago)
Author:
sommeria
Message:

various bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_down.m

    r432 r456  
    132132                if isequal(get(hObject,'SelectionType'),'alt')  && isequal(get(hchild,'Visible'),'on') && ~isequal(get(hchild,'tag'),'frame_object')&&...
    133133                        ~isequal(get(hchild,'tag'),'ListObject')
    134 %                     if strcmp(get(hchild,'Visible'),'on')
    135134                    if ~strcmp(get(hchild,'Style'),'frame')%do not visualisaze frames
    136135                        msg_pos(1:2)=GUI_pos(1:2)+obj_pos(1:2).*GUI_pos(3:4);
     
    159158                end
    160159        end
     160        if ~isempty(output_str)
     161            break   %leave the current loop if a uicontrol has been selected
     162        end
    161163    end
    162164end
Note: See TracChangeset for help on using the changeset viewer.