Changeset 3078 for trunk/gui


Ignore:
Timestamp:
Jul 5, 2012, 2:54:49 PM (12 years ago)
Author:
mmc
Message:

Fixed a problem with "clear one" where old results weren't getting cleared
from the results viewer, so number plots were trying to access data that
didn't exist anymore. Results are now being cleared properly.

File:
1 edited

Legend:

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

    r3033 r3078  
    873873        }
    874874        clear {
    875             set xmlobj $eventData(what)
    876             if {$xmlobj ne "all"} {
     875            if {$eventData(what) ne "all"} {
    877876                # delete this result from all viewers
     877                array set params $eventData(what)
    878878                foreach label [array names _label2page] {
    879879                    set page $_label2page($label)
    880                     $page.rviewer clear $xmlobj
     880                    $page.rviewer clear $params(simnum)
    881881                }
    882882            }
Note: See TracChangeset for help on using the changeset viewer.