Ignore:
Timestamp:
09/14/07 13:05:09 (17 years ago)
Author:
smasson
Message:

allways return back a scalar is /firstfound used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/selectfile.pro

    r243 r285  
    8585    'meshload':BEGIN 
    8686      widget_control, event.id, get_value = filename 
    87       filename = (find(filename[0], /onlypro, /firstfound))[0] 
     87      filename = find(filename[0], /onlypro, /firstfound) 
    8888      if filename EQ 'NOT FOUND' then begin 
    8989        widget_control, event.id, set_value = '' 
     
    150150          meshload = meshload[0] 
    151151          IF meshload EQ '' THEN return 
    152           meshload = (find(meshload[0], /onlypro, /firstfound))[0] 
     152          meshload = find(meshload[0], /onlypro, /firstfound) 
    153153          if meshload EQ 'NOT FOUND' then begin 
    154154            widget_control, meshload_id, set_value = '' 
Note: See TracChangeset for help on using the changeset viewer.