Changeset 2049


Ignore:
Timestamp:
Jan 19, 2011, 12:13:29 PM (14 years ago)
Author:
gah
Message:

fixes for tester

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

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

    r1929 r2049  
    10841084    } else {
    10851085        lappend params "???"
     1086    }
     1087    if { $_active == "" } {
     1088        return;                         # Nothing active. Don't do anything.
    10861089    }
    10871090    eval lappend params [_getValues $_active all]
  • trunk/gui/scripts/xyresult.tcl

    r1943 r2049  
    15181518# ----------------------------------------------------------------------
    15191519itcl::body Rappture::XyResult::GetAxes {dataobj} {
    1520     # rebuild if needed, so we know about the axes
    1521     if {[$_dispatcher ispending !rebuild]} {
    1522         $_dispatcher cancel !rebuild
    1523         $_dispatcher event -now !rebuild
    1524     }
    1525 
     1520    if 0 {
     1521        # Don't do this. Given dataobj may be deleted in the rebuild
     1522
     1523        # rebuild if needed, so we know about the axes
     1524        if {[$_dispatcher ispending !rebuild]} {
     1525            $_dispatcher cancel !rebuild
     1526            $_dispatcher event -now !rebuild
     1527        }
     1528    }
    15261529    # what is the x axis?  x? x2? x3? ...
    15271530    set xlabel [$dataobj hints xlabel]
Note: See TracChangeset for help on using the changeset viewer.