Changeset 6309


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

fixes -load causing simulation

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

Legend:

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

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

    r6271 r6309  
    395395    }
    396396    $f.analyze configure -notebookpage analyze
     397    $win.pager configure -nosim 1
    397398    $win.pager current analyzer
     399    $win.pager configure -nosim 0
    398400} elseif {$params(-simset) ne ""} {
    399401    $f.analyze reload $params(-simset)
  • branches/1.6/gui/scripts/nanovisviewer.tcl

    r6305 r6309  
    797797
    798798    if { [info exists _isomarkers($tf)] } {
    799 update idletasks
    800 update
     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
    801805        foreach m $_isomarkers($tf) {
    802806            $m visible yes
     
    921925    # settings since the user may have created/deleted/moved markers.
    922926
    923 update idletasks
    924 update
     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
    925933    foreach tf [array names _isomarkers] {
    926934        foreach m $_isomarkers($tf) {
Note: See TracChangeset for help on using the changeset viewer.