diff options
author | Richard Linden <none@none> | 2010-09-17 15:01:44 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-09-17 15:01:44 -0700 |
commit | 949b60465593764118c03d0f4e112f69c41bab31 (patch) | |
tree | 23ec59769bcaf192324e48141c94affe0ebf2ea0 /indra/llui/lllayoutstack.cpp | |
parent | 83bb4b9518da813a42e49366cea15e5ae9dc7507 (diff) |
Backed out changeset: d71309f8bd0e
Diffstat (limited to 'indra/llui/lllayoutstack.cpp')
-rw-r--r-- | indra/llui/lllayoutstack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp index 940c7e7e18..a0275b6ed5 100644 --- a/indra/llui/lllayoutstack.cpp +++ b/indra/llui/lllayoutstack.cpp @@ -208,8 +208,8 @@ S32 LLLayoutStack::getDefaultWidth(S32 cur_width) void LLLayoutStack::movePanel(LLPanel* panel_to_move, LLPanel* target_panel, bool move_to_front) { - LLLayoutPanel* embedded_panel_to_move = findEmbeddedPanel(panel_to_move); - LLLayoutPanel* embedded_target_panel = move_to_front ? *mPanels.begin() : findEmbeddedPanel(target_panel); + LayoutPanel* embedded_panel_to_move = findEmbeddedPanel(panel_to_move); + LayoutPanel* embedded_target_panel = move_to_front ? *mPanels.begin() : findEmbeddedPanel(target_panel); if (!embedded_panel_to_move || !embedded_target_panel || embedded_panel_to_move == embedded_target_panel) { |