Changeset 4662 for branches/1.3


Ignore:
Timestamp:
Nov 7, 2014, 11:16:42 PM (5 years ago)
Author:
gah
Message:

update legend after switching component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/nanovisviewer.tcl

    r4580 r4662  
    21242124        InitComponentSettings $cname
    21252125    }
     2126    if { $_settings(-colormap) != $_settings($cname-colormap) } {
     2127        set _settings(-colormap)         $_settings($cname-colormap)
     2128        EventuallyRedrawLegend
     2129    }
    21262130    # _settings variables change widgets, except for colormap
    2127     set _settings(-colormap)         $_settings($cname-colormap)
    21282131    set _settings(-light)            $_settings($cname-light)
    21292132    set _settings(-light2side)       $_settings($cname-light2side)
Note: See TracChangeset for help on using the changeset viewer.