summaryrefslogtreecommitdiff
path: root/indra/llui/lltoolbar.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-10-25 17:32:40 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-10-25 17:32:40 -0700
commita64f7e1c7b6c60e2f43b75d150cf5e4ee5a5afcd (patch)
tree5e19390567aa2ea8c3b30b8b17383ec5d83ebbf5 /indra/llui/lltoolbar.cpp
parent8448e3b86e9ed94a29a6d1e0bdc8b8f78ff84091 (diff)
EXP-1468 Incoming/outgoing call floater tongue position doesn't follow floater
Diffstat (limited to 'indra/llui/lltoolbar.cpp')
-rw-r--r--indra/llui/lltoolbar.cpp7
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;
}