Changeset 12 for trunk/gui/apps/driver


Ignore:
Timestamp:
May 30, 2005 10:23:20 PM (19 years ago)
Author:
mmc
Message:

Fixed a new nits to so that the pntoy works
better. The <tool><control>auto</control></tool>
mode is now truly automatic, and the Simulate
button no longer appears in that mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/driver

    r11 r12  
    135135    if {$w0+$w1 < $screenw && $style != "wizard"} {
    136136        $win.pager configure -arrangement side-by-side
    137         $f.analyze configure -holdwindow [$win.pager page @0] -simcontrol on
     137        $f.analyze configure -holdwindow [$win.pager page @0]
     138
     139        if {[$tool xml get tool.control] == "auto"} {
     140            # in "auto" mode, we don't need a simulate button
     141            $f.analyze configure -simcontrol off
     142        } else {
     143            # not in "auto" mode but side-by-side, we always need the button
     144            $f.analyze configure -simcontrol on
     145        }
    138146    }
    139147}
Note: See TracChangeset for help on using the changeset viewer.