Changeset 2977 for trunk/gui/scripts/main.tcl
- Timestamp:
- Apr 25, 2012, 11:31:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/main.tcl
r2744 r2977 290 290 # Finalize the arrangement 291 291 # ---------------------------------------------------------------------- 292 if {[llength [$win.pager page]] == 2} { 292 if {[llength [$win.pager page]] > 2} { 293 # We have phases, so we shouldn't allow the "Simulate" button. 294 # If it pops up, there are two ways to push simulate and duplicate 295 # links for "About" and "Questions?". 296 $f.analyze configure -simcontrol off 297 } elseif {[llength [$win.pager page]] == 2} { 293 298 set style [$xmlobj get tool.layout] 294 299 set screenw [winfo screenwidth .] … … 317 322 } 318 323 if { $arrangement != "side-by-side" && 319 ($type == "manual" || $type == "auto" || $style == "wizard") } { 324 ($type == "manual" || $type == "manual-resim" || 325 $type == "auto" || $style == "wizard") } { 320 326 # in "auto" mode, we don't need a simulate button 321 327 $f.analyze configure -simcontrol off … … 324 330 $f.analyze configure -simcontrol on 325 331 } 326 } elseif {[llength [$win.pager page]] > 2} {327 # We have phases, so we shouldn't allow the "Simulate" button.328 # If it pops up, there are two ways to push simulate and duplicate329 # links for "About" and "Questions?".330 $f.analyze configure -simcontrol off331 332 } 332 333
Note: See TracChangeset
for help on using the changeset viewer.