Changeset 1637 for trunk/gui/apps/driver


Ignore:
Timestamp:
Jan 11, 2010, 11:01:19 PM (15 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/driver

    r1571 r1637  
    307307        }
    308308    }
    309     set type [$tool xml get tool.control]
    310     if {$type == ""} {
    311         set type [$tool xml get tool.control.type]
    312     }
     309    set control [$tool xml get tool.control]
     310    set type [$tool xml get tool.control.type]
    313311    if { $type == "" } {
    314312        set arrangement [$win.pager cget -arrangement]
    315313        if { $arrangement != "side-by-side" } {
    316            set type auto
     314           set control auto
    317315        }
    318316    }
    319     if { $type == "auto" || $style == "wizard" } {
     317    if { $type == "" || $control == "auto" || $style == "wizard" } {
    320318        # in "auto" mode, we don't need a simulate button
    321319        $f.analyze configure -simcontrol off
Note: See TracChangeset for help on using the changeset viewer.