Dont create control alias unless there is a name to use
This commit is contained in:
@ -925,9 +925,11 @@ upvar #0 $instDict dictionary
|
||||
}
|
||||
foreach node [hmatchprop / permlink *] {
|
||||
set plink [hgetpropval $node permlink]
|
||||
set target [lindex $plink 0]
|
||||
if {$target == "data_set" && [hgetpropval $node control]} {
|
||||
::hdb::alias "/control" $node {*}$plink
|
||||
if {[llength $plink] > 1} {
|
||||
set target [lindex $plink 0]
|
||||
if {$target == "data_set" && [hgetpropval $node control]} {
|
||||
::hdb::alias "/control" $node {*}$plink
|
||||
}
|
||||
}
|
||||
}
|
||||
} message ]
|
||||
|
Reference in New Issue
Block a user