Changeset 1639 for trunk


Ignore:
Timestamp:
Jan 12, 2010 5:21:06 AM (14 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/driver

    r1637 r1639  
    307307        }
    308308    }
    309     set control [$tool xml get tool.control]
    310     set type [$tool xml get tool.control.type]
     309    set type [$tool xml get tool.control]
     310    if {$type == ""} {
     311        set type [$tool xml get tool.control.type]
     312    }
    311313    if { $type == "" } {
    312314        set arrangement [$win.pager cget -arrangement]
    313315        if { $arrangement != "side-by-side" } {
    314            set control auto
     316           set type auto
    315317        }
    316318    }
    317     if { $type == "" || $control == "auto" || $style == "wizard" } {
     319    if { $type == "manual" || $type == "auto" || $style == "wizard" } {
    318320        # in "auto" mode, we don't need a simulate button
    319321        $f.analyze configure -simcontrol off
Note: See TracChangeset for help on using the changeset viewer.