Changeset 1226
- Timestamp:
- Nov 20, 2008, 3:04:58 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 13 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/controlOwner.tcl
r1225 r1226 275 275 276 276 # copy new value to the XML tree 277 # also copy to the widget associated with the tree 278 # 277 279 # we only copy the values if they existed in newobj 278 280 # so we don't overwrite values that were set in previous loads. … … 287 289 # newobj and see if the path exists. if the path exists, then we copy 288 290 # it over to [tool] xml, otherwise we ignore it. 289 if {"" != [$newobj element -as component$currentpath]} {291 if {"" != [$newobj element -as type $currentpath]} { 290 292 [tool] xml copy $currentpath from $newobj $currentpath 291 }292 293 # also copy to the widget associated with the tree294 if {"" != [$newobj element -as type $path]} {295 293 set val [$newobj get $currentpath] 296 294 if {[string length $val] > 0
Note: See TracChangeset
for help on using the changeset viewer.