From f05fa677866df984131ddb80cc5c5fce41a94dda Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Tue, 16 Jul 2013 09:40:33 -0400 Subject: [PATCH] Fix column header tooltips showing up when not over the header itself --- indra/llui/llscrolllistcolumn.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/llui/llscrolllistcolumn.cpp b/indra/llui/llscrolllistcolumn.cpp index 8b00c86f0..fd8d843c6 100644 --- a/indra/llui/llscrolllistcolumn.cpp +++ b/indra/llui/llscrolllistcolumn.cpp @@ -87,6 +87,7 @@ void LLScrollColumnHeader::draw() //virtual BOOL LLScrollColumnHeader::handleToolTip(S32 x, S32 y, std::string& msg, LLRect* sticky_rect_screen) { + if (!getRect().pointInRect(x,y)) return false; std::string tool_tip = LLUI::sShowXUINames ? getShowNamesToolTip() : getToolTip(); if (tool_tip.empty()) tool_tip = getLabelUnselected(); // Fallback on label