Ignore:
Timestamp:
Apr 24, 2013, 2:55:58 PM (11 years ago)
Author:
sommeria
Message:

minor cleaning. Option 'double -click' on mouse selection introduced on browser but commented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uigetfile_uvmat.m

    r615 r617  
    199199function list_Callback(option,hObject,event)
    200200%------------------------------------------------------------------------
    201     set(hObject,'BackgroundColor',[1 1 0])% paint list in yellow to indicate action
     201hfig=get(hObject,'parent');%handle of the fig
     202% if ~strcmp(get(hfig,'SelectionType'),'open')
     203%     return %select double click
     204% end
     205set(hObject,'BackgroundColor',[1 1 0])% paint list in yellow to indicate action
    202206    drawnow
    203207list=get(hObject,'String');
    204208index=get(hObject,'Value');
    205 hfig=get(hObject,'parent');%handle of the fig
     209
    206210htitlebox=findobj(hfig,'tag','titlebox');  % display the new dir name 
    207211DirName=get(htitlebox,'String');
Note: See TracChangeset for help on using the changeset viewer.