Changeset 5885


Ignore:
Timestamp:
Sep 24, 2015, 9:51:00 AM (9 years ago)
Author:
gah
Message:

fixes from martin for uq results

Location:
branches/1.4/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4/gui/scripts/analyzer.tcl

    r5833 r5885  
    9595    private variable _lastPlot
    9696    private common job                 ;# array var used for blt::bgexec jobs
     97    private variable _uq_active 0      ;# a UQ variables has been used
    9798    private variable _wait_uq 0
    9899}
     
    404405    # pop up UQ window
    405406    if {[$uq num_runs] > 1} {
     407        set _uq_active 1
    406408        set status [$uq run_dialog $itk_component(simulate)]
    407409        if {$status == 0} {
     
    10751077        configure -simcontrolcolor $simcbg
    10761078
    1077         #$itk_component(simulate) configure -state disabled
     1079        if {$_uq_active == 0} {
     1080            $itk_component(simulate) configure -state disabled
     1081        }
    10781082        $itk_component(abort) configure -state normal
    10791083
  • branches/1.4/gui/scripts/resultviewer.tcl

    r5833 r5885  
    417417    }
    418418
    419     if {$mode != $_mode && $_mode != ""} {
    420         set nactive [llength [$_mode2widget($_mode) get]]
    421         if {$nactive > 0} {
    422             return  ;# mixing data that doesn't mix -- ignore it!
    423         }
    424     }
    425419    # Are we plotting in a new mode? then change widgets
    426420    if {$_mode2widget($mode) != [pack slaves $itk_interior]} {
Note: See TracChangeset for help on using the changeset viewer.