Ignore:
Timestamp:
Dec 27, 2011 12:41:24 PM (12 years ago)
Author:
gah
Message:

sync with trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/gui/scripts/sequenceresult.tcl

    r2201 r2742  
    397397    global readyForNextFrame
    398398    set readyForNextFrame 1;            # By default, always ready
    399 
    400     # toggle the button to "play" mode
    401     $itk_component(play) configure \
    402         -bitmap [Rappture::icon play] \
    403         -command [itcl::code $this play]
     399                                       
     400    # Check if the play button still exists. We may be in the process
     401    # of destroying the widget.
     402    if { [info exists itk_component(play)] } {
     403        # toggle the button to "play" mode
     404        $itk_component(play) configure \
     405            -bitmap [Rappture::icon play] \
     406            -command [itcl::code $this play]
     407    }
    404408}
    405409
Note: See TracChangeset for help on using the changeset viewer.