Changeset 1713


Ignore:
Timestamp:
May 14, 2010 8:31:59 AM (14 years ago)
Author:
gah
Message:

empty index label in sequence, wasn't setting pos to new position

File:
1 edited

Legend:

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

    r1635 r1713  
    461461                            set mode "heightmap"
    462462                        } else {
    463                             set mode "auto"
     463                            set mode "vtk"
    464464                        }
    465465                        Rappture::Field2DResult $viewer -mode $mode
     
    559559        return
    560560    }
     561    set val [$itk_component(dial) get -format label current]
     562    set _pos [lsearch -glob $_indices $val*]
     563    # populate the label for this element
    561564    if { "" != [$_topmost hints indexlabel] } {
    562         set val [$itk_component(dial) get -format label current]
    563565        $itk_component(indexValue) configure -text "= $val"
    564         set _pos [lsearch -glob $_indices $val*]
    565     }
    566     # populate the label for this element
     566    }
    567567    $itk_component(eleLabel) configure -text "[$_topmost label $_pos]"
    568568    foreach dataobj [$_topmost value $_pos] {
Note: See TracChangeset for help on using the changeset viewer.