Changeset 1969


Ignore:
Timestamp:
Dec 1, 2010 3:44:20 PM (13 years ago)
Author:
gah
Message:
 
Location:
branches/blt4/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/gui/scripts/filechoiceentry.tcl

    r1923 r1969  
    210210        }
    211211        # Replace the template with the substituted value.
    212         set files [glob -nocomplain -type { r f } $glob]
    213         set allfiles [concat $allfiles $files]
     212        if { [catch {
     213            glob -nocomplain -type { r f } $glob
     214        } files] == 0 } {
     215            set allfiles [concat $allfiles $files]
     216        }
    214217    }
    215218    set first ""
  • branches/blt4/gui/scripts/filelistentry.tcl

    r1923 r1969  
    302302        }
    303303        # Replace the template with the substituted value.
    304         set files [glob -nocomplain -type { r f } $glob]
    305         set allfiles [concat $allfiles $files]
     304        if { [catch {
     305            glob -nocomplain -type { r f } $glob
     306        } files] == 0 } {
     307            set allfiles [concat $allfiles $files]
     308        }
    306309    }
    307310    set first ""
Note: See TracChangeset for help on using the changeset viewer.