summaryrefslogtreecommitdiff
path: root/indra/newview/llfavoritesbar.cpp
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2009-11-14 19:15:51 +0200
committerSergei Litovchuk <slitovchuk@productengine.com>2009-11-14 19:15:51 +0200
commit93c1e1bd6eaa8f77e746b1346b1729ed564081b4 (patch)
tree430e532c6cda6ca8e79e04bb236c2e65954e8400 /indra/newview/llfavoritesbar.cpp
parent9e11d70225d3e53e2ee31304c4930f01939fe1c3 (diff)
No ticket.
- Fixed toggleable menu in Picks panel. - Minor optimization of LLToggleableMenu. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llfavoritesbar.cpp')
-rw-r--r--indra/newview/llfavoritesbar.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfavoritesbar.cpp b/indra/newview/llfavoritesbar.cpp
index 18135fc558..01603f390d 100644
--- a/indra/newview/llfavoritesbar.cpp
+++ b/indra/newview/llfavoritesbar.cpp
@@ -901,7 +901,10 @@ void LLFavoritesBarCtrl::showDropDownMenu()
menu->buildDrawLabels();
menu->updateParent(LLMenuGL::sMenuContainer);
- menu->setButtonRect(mChevronRect, this);
+ if (menu->getButtonRect().isEmpty())
+ {
+ menu->setButtonRect(mChevronRect, this);
+ }
LLMenuGL::showPopup(this, menu, getRect().getWidth() - menu->getRect().getWidth(), 0);
return;