Changeset 3139 for trunk/gui/scripts/controlOwner.tcl
- Timestamp:
- Aug 15, 2012, 8:30:38 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/controlOwner.tcl
r2977 r3139 59 59 # in coordination with loaders inside the load function 60 60 array set _type2curpath { 61 drawing components61 drawing all 62 62 choice current 63 63 boolean current … … 270 270 set type [[tool] xml element -as type $path] 271 271 if {[info exists _type2curpath($type)]} { 272 set currentpath $path.$_type2curpath($type) 272 if { $_type2curpath($type) == "all" } { 273 set currentpath $path 274 } else { 275 set currentpath $path.$_type2curpath($type) 276 } 273 277 } else { 274 278 # default incase i forgot an input type in _type2curpath
Note: See TracChangeset
for help on using the changeset viewer.