Ignore:
Timestamp:
Jul 5, 2012, 1:31:40 PM (12 years ago)
Author:
gah
Message:

don't enable cloned drawing controls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/drawingcontrols.tcl

    r3042 r3076  
    3939    private method FormatLabel {str}
    4040    private method Monitor {name state}
    41    
    4241    private variable _dispatcher ""
    4342    private variable _controls ""
     
    181180        set _name2info($name-disablestyle) $disablestyle
    182181    }
     182
     183    if 0 {
    183184    #
    184185    # If this element has an <enable> expression, then register
     
    232233            }
    233234        }
    234 
    235235        foreach cpath $deps {
    236236            $_owner dependenciesfor $cpath $path
    237237        }
    238238    }
    239     set _name2info($name-enable) $enable
     239    }
     240    set _name2info($name-enable) yes
    240241
    241242    #set wid [$_owner widgetfor $path]
     
    534535    $_dispatcher event -idle !layout
    535536}
     537
Note: See TracChangeset for help on using the changeset viewer.