summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorLeslie Linden <none@none>2011-06-09 12:12:28 -0700
committerLeslie Linden <none@none>2011-06-09 12:12:28 -0700
commitdef85f2778d9b69bc3fb0e89c1cef854a1c01886 (patch)
treebfae24f88d2a2679d5812a9684b33a5750d946c6 /indra/llui/llbutton.cpp
parent6e928645b94901518fe452ab7fab0278e87613d7 (diff)
EXP-865 FIX -- Modify LLBadge to allow it to hang off of non-buttons
LLBadgeOwner now only depends on LLView instead of LLUICtrl Sidebar Tab Buttons now can support badges Reviewed by Leyla
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index 907dc31721..637024e513 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -110,7 +110,7 @@ LLButton::Params::Params()
LLButton::LLButton(const LLButton::Params& p)
: LLUICtrl(p),
- LLBadgeOwner(getUICtrlHandle()),
+ LLBadgeOwner(LLView::getHandle()),
mMouseDownFrame(0),
mMouseHeldDownCount(0),
mBorderEnabled( FALSE ),