summaryrefslogtreecommitdiffstats
path: root/src/bltGrLegd.C
diff options
context:
space:
mode:
authorjoye <joye>2014-06-04 17:30:54 (GMT)
committerjoye <joye>2014-06-04 17:30:54 (GMT)
commit6b0d697c9848b65a016ebfb12abd1cdb50aa7927 (patch)
treef50b118be4b0ffc55fb376600723258e39715ac9 /src/bltGrLegd.C
parent32cb8bf3e3c83fc994d5ef93a897951411d3638b (diff)
downloadblt-6b0d697c9848b65a016ebfb12abd1cdb50aa7927.zip
blt-6b0d697c9848b65a016ebfb12abd1cdb50aa7927.tar.gz
blt-6b0d697c9848b65a016ebfb12abd1cdb50aa7927.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrLegd.C')
-rw-r--r--src/bltGrLegd.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bltGrLegd.C b/src/bltGrLegd.C
index e8ea6fe..73ec682 100644
--- a/src/bltGrLegd.C
+++ b/src/bltGrLegd.C
@@ -848,6 +848,8 @@ int Legend::getElementFromObj(Tcl_Obj* objPtr, Element** elemPtrPtr)
if (!strcmp(string, "anchor"))
elemPtr = selAnchorPtr_;
+ else if (!strcmp(string, "current"))
+ elemPtr = (Element*)bindTable_->currentItem();
else if (!strcmp(string, "first"))
elemPtr = getFirstElement();
else if (!strcmp(string, "focus"))