diff options
author | Richard Linden <none@none> | 2012-03-20 10:55:15 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-03-20 10:55:15 -0700 |
commit | 531e01be14b47aefdd7022456c0ea3300a852d44 (patch) | |
tree | 07645842e7b256cca53be7c5ff4c6e03aa06b24a /indra/llui | |
parent | b615a553955447cccf8f5b6af60410d4bb3c89a2 (diff) | |
parent | 3033ca84745f67169caf518ee97d0aab519897fe (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llfloater.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 9c4bf0a5c2..84754d9c4d 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -885,7 +885,6 @@ bool LLFloater::applyRectControl() mPositioning = LLFloaterEnums::POSITIONING_RELATIVE; LLRect screen_rect = calcScreenRect(); mPosition = LLCoordGL(screen_rect.getCenterX(), screen_rect.getCenterY()).convert(); - storeRectControl(); } LLControlVariablePtr x_control = getControlGroup()->getControl(mPosXControl); @@ -904,6 +903,13 @@ bool LLFloater::applyRectControl() } } + if (saved_rect) + { + // propagate any derived positioning data back to settings file + storeRectControl(); + } + + return saved_rect; } |