Ignore:
Timestamp:
Oct 4, 2005 5:25:14 PM (19 years ago)
Author:
mmc
Message:

Fixed the device viewer to work properly even with
<units>arbitrary</units>. Also, fixed Controls so
that you can use a <separator> to break up a group
of groups and have it render as a flat list of groups
rather than a series of tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/booleanentry.tcl

    r56 r82  
    7272    #
    7373    set str [$_owner xml get $path.default]
    74     if {"" != $str != ""} { $itk_component(switch) value $str }
     74    if {"" != $str} {
     75        $itk_component(switch) value $str
     76    } else {
     77        $itk_component(switch) value off
     78    }
    7579}
    7680
Note: See TracChangeset for help on using the changeset viewer.