diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2011-10-25 17:32:40 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2011-10-25 17:32:40 -0700 |
commit | a64f7e1c7b6c60e2f43b75d150cf5e4ee5a5afcd (patch) | |
tree | 5e19390567aa2ea8c3b30b8b17383ec5d83ebbf5 | |
parent | 8448e3b86e9ed94a29a6d1e0bdc8b8f78ff84091 (diff) |
EXP-1468 Incoming/outgoing call floater tongue position doesn't follow floater
-rw-r--r-- | indra/llui/lltoolbar.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llui/lltoolbar.cpp b/indra/llui/lltoolbar.cpp index ea11750e38..19dc688504 100644 --- a/indra/llui/lltoolbar.cpp +++ b/indra/llui/lltoolbar.cpp @@ -243,13 +243,16 @@ bool LLToolBar::addCommand(const LLCommandId& commandId, int rank) mButtons.insert(it_button,button); } + mNeedsLayout = true; + + updateLayoutAsNeeded(); + + if (mButtonAddSignal) { (*mButtonAddSignal)(button); } - mNeedsLayout = true; - return true; } |