Changeset 4922 for branches/1.3


Ignore:
Timestamp:
Jan 12, 2015, 3:46:24 PM (5 years ago)
Author:
ldelgass
Message:

restore code to enable/disable recolor button in XyLegend::Check

File:
1 edited

Legend:

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

    r4918 r4922  
    396396    set nodes [$itk_component(legend) curselection]
    397397    foreach n { hide show toggle raise lower
    398         rename average difference delete } {
     398        rename average difference delete recolor } {
    399399        $itk_component(controls).$n configure -state disabled
    400400    }
     
    414414        }
    415415        1 {
    416             foreach n { hide show toggle rename } {
     416            foreach n { hide show toggle rename recolor } {
    417417                $itk_component(controls).$n configure -state normal
    418418            }
    419419        }
    420420        2 {
    421             foreach n { hide show toggle difference average } {
     421            foreach n { hide show toggle difference average recolor } {
    422422                $itk_component(controls).$n configure -state normal
    423423            }
    424424        }
    425425        default {
    426             foreach n { hide show toggle average } {
     426            foreach n { hide show toggle average recolor } {
    427427                $itk_component(controls).$n configure -state normal
    428428            }
Note: See TracChangeset for help on using the changeset viewer.