summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-09-23 17:39:37 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-09-23 17:39:37 +0300
commit14408cc0dbe4eb079a9c19002f33c9ab6c5c5bba (patch)
treeecf36d963c6a6837c011ebd52fb893fd700d80c0 /indra
parent0e0b5f391640aa586aed290f01ec1e718fce8607 (diff)
MAINT-5620 FIXED clicking on Graphics Preset title triggers favorite
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelpresetspulldown.cpp7
-rw-r--r--indra/newview/llpanelpresetspulldown.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpanelpresetspulldown.cpp b/indra/newview/llpanelpresetspulldown.cpp
index ceff5a54e8..a0bd8f5ad0 100644
--- a/indra/newview/llpanelpresetspulldown.cpp
+++ b/indra/newview/llpanelpresetspulldown.cpp
@@ -113,6 +113,13 @@ void LLPanelPresetsPulldown::onTopLost()
}
/*virtual*/
+BOOL LLPanelPresetsPulldown::handleMouseDown(S32 x, S32 y, MASK mask)
+{
+ LLPanel::handleMouseDown(x,y,mask);
+ return TRUE;
+}
+
+/*virtual*/
void LLPanelPresetsPulldown::onMouseLeave(S32 x, S32 y, MASK mask)
{
mHoverTimer.start();
diff --git a/indra/newview/llpanelpresetspulldown.h b/indra/newview/llpanelpresetspulldown.h
index 146ccc0b09..edecad05a2 100644
--- a/indra/newview/llpanelpresetspulldown.h
+++ b/indra/newview/llpanelpresetspulldown.h
@@ -40,6 +40,7 @@ class LLPanelPresetsPulldown : public LLPanel
/*virtual*/ void draw();
/*virtual*/ void onMouseEnter(S32 x, S32 y, MASK mask);
/*virtual*/ void onMouseLeave(S32 x, S32 y, MASK mask);
+ /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask);
/*virtual*/ void onTopLost();
/*virtual*/ void onVisibilityChange ( BOOL new_visibility );
/*virtual*/ BOOL postBuild();