diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-10-04 14:09:03 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-10-04 14:09:03 -0700 |
commit | db2e763ff0537785336a330d03bb9307478cb79a (patch) | |
tree | 20ab0fa0068580291f5dfae03911ca2462f13ea6 /indra/llui/lltoolbar.cpp | |
parent | fc6c3fbe4271dcd9b64bdfd417514dc97ad7dd75 (diff) |
* Modified commands to add functions for is_enabled, is_running and is_starting,
currently not hooked to any functionality.
Diffstat (limited to 'indra/llui/lltoolbar.cpp')
-rw-r--r-- | indra/llui/lltoolbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lltoolbar.cpp b/indra/llui/lltoolbar.cpp index efa077ffa1..a544aa9ec7 100644 --- a/indra/llui/lltoolbar.cpp +++ b/indra/llui/lltoolbar.cpp @@ -525,8 +525,8 @@ LLToolBarButton* LLToolBar::createButton(const LLCommandId& id) if (!mReadOnly) { LLUICtrl::CommitCallbackParam cbParam; - cbParam.function_name = commandp->functionName(); - cbParam.parameter = commandp->parameter(); + cbParam.function_name = commandp->executeFunctionName(); + cbParam.parameter = commandp->executeParameters(); button->setCommitCallback(cbParam); button->setStartDragCallback(mStartDragItemCallback); button->setHandleDragCallback(mHandleDragItemCallback); |