Ignore:
Timestamp:
Sep 21, 2010 11:28:51 PM (11 years ago)
Author:
toby
Message:

mapexp: set expgui(mapstat) to trigger trace; move tab disable from sethistlist to StageTabUse?; trigger StageTabUse? when mapexp is used; StageTabUse?: disable tabs w/o phase or hist; simplify upgrade menu; addcmds: select a histogram after adding if none selected; revise SVN update code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sandbox/addcmds.tcl

    r992 r1015  
    392392
    393393proc MakeAddHistBox {} {
    394     global expmap newhist
     394    global expmap newhist expgui
    395395
    396396    # --> should check here if room for another histogram, but only texture
     
    518518    # fix grab...
    519519    afterputontop
     520    # if no histogram is selected, select the last
     521    if {$expgui(curhist) == "" && $expmap(powderlist) != ""} {
     522        $expgui(histFrame).hs.lbox select set end
     523        set expgui(curhist) [$expgui(histFrame).hs.lbox curselection]
     524        DisplayHistogram
     525    }
    520526}
    521527
Note: See TracChangeset for help on using the changeset viewer.