Changeset 3649 for branches/1.2/gui


Ignore:
Timestamp:
May 14, 2013 3:18:07 PM (8 years ago)
Author:
gah
Message:

add string trim to textentry (valeus coming from loader)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/gui/scripts/textentry.tcl

    r3646 r3649  
    133133            return
    134134        }
    135         set newval [lindex $args 0]
     135        set newval [string trim [lindex $args 0]]
    136136        _setValue $newval
    137137        _newValue
     
    556556    }
    557557
    558     set opt [lindex $args 0]
     558    set opt [string trim [lindex $args 0]]
    559559    switch -- $opt {
    560560        -start {
Note: See TracChangeset for help on using the changeset viewer.