summaryrefslogtreecommitdiff
path: root/indra/newview/llfavoritesbar.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-14 10:25:02 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-14 10:25:02 -0800
commited06c4b8b937b42882ee1740def365d476bef10e (patch)
treec497ba83da3a69c1b3e57de087bfbdd0d3bb08a9 /indra/newview/llfavoritesbar.cpp
parenta39bda1b775a161558f75bd0a23575b8ef78a80e (diff)
parent93c1e1bd6eaa8f77e746b1346b1729ed564081b4 (diff)
merge from 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;