diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-04 14:19:29 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-04 14:19:29 -0400 |
commit | d5fa10180344d419d5d9a9fe580044f28aa64e43 (patch) | |
tree | 9e3e7c515fc34e40a1670c6ac145bb3a89f741c0 | |
parent | c4f29a535359fe1ecdb8bec45596f40b02891cd1 (diff) |
Adapt new code from main branch to Lua project calling convention.
-rw-r--r-- | indra/newview/llpanelnearbymedia.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelnearbymedia.cpp b/indra/newview/llpanelnearbymedia.cpp index de59feab8e..86a88d6793 100644 --- a/indra/newview/llpanelnearbymedia.cpp +++ b/indra/newview/llpanelnearbymedia.cpp @@ -103,10 +103,10 @@ LLPanelNearByMedia::LLPanelNearByMedia() // Context menu handler. mCommitCallbackRegistrar.add("SelectedMediaCtrl.Action", - [this](LLUICtrl* ctrl, const LLSD& data) + {[this](LLUICtrl* ctrl, const LLSD& data) { onMenuAction(data); - }); + }}); mEnableCallbackRegistrar.add("SelectedMediaCtrl.Visible", [this](LLUICtrl* ctrl, const LLSD& data) { |