Changeset 6310


Ignore:
Timestamp:
May 4, 2016, 10:09:48 AM (8 years ago)
Author:
gah
Message:

fixes -load causing simulation

Location:
branches/1.7/gui/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1.7/gui/scripts/gauge.tcl

    r6307 r6310  
    639639        $itk_component(uq) configure -state $itk_option(-state)
    640640    }
    641     _redraw  ;# fix gauge
     641    _redraw;                            # Fix gauge
    642642}
    643643
  • branches/1.7/gui/scripts/main.tcl

    r6231 r6310  
    382382
    383383# load previous xml runfiles
     384update
    384385if {[llength $params(-load)] > 0} {
    385386    foreach runobj $loadobjs {
     
    394395    }
    395396    $f.analyze configure -notebookpage analyze
     397    $win.pager configure -nosim 1
    396398    $win.pager current analyzer
     399    $win.pager configure -nosim 0
    397400} elseif {$params(-simset) ne ""} {
    398401    $f.analyze reload $params(-simset)
  • branches/1.7/gui/scripts/nanovisviewer.tcl

    r6308 r6310  
    502502        if { $pos >= 0 } {
    503503            set _dlist [lreplace $_dlist $pos $pos]
     504            # Don't remove the limits settings because we're not really
     505            # deleting the volume, just hiding it.
     506            #array unset _limits $dataobj*
    504507            array unset _obj2ovride $dataobj-*
    505508            set changed 1
     
    794797
    795798    if { [info exists _isomarkers($tf)] } {
     799        # The "visible" isomarker method below implicitly calls "absval".
     800        # It uses the screen position of the marker to compute the absolute
     801        # value.  So make sure the window size has been computed before
     802        # calling "visible".
     803        update idletasks
     804        update
    796805        foreach m $_isomarkers($tf) {
    797806            $m visible yes
     
    916925    # settings since the user may have created/deleted/moved markers.
    917926
     927    # The "visible" isomarker method below implicitly calls "absval".  It
     928    # uses the screen position of the marker to compute the absolute value.
     929    # So make sure the window size has been computed before calling
     930    # "visible".
     931    update idletasks
     932    update
    918933    foreach tf [array names _isomarkers] {
    919934        foreach m $_isomarkers($tf) {
Note: See TracChangeset for help on using the changeset viewer.