diff options
author | andreykproductengine <akleshchev@productengine.com> | 2017-02-09 21:18:23 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2017-02-09 21:18:23 +0200 |
commit | 451595dc381f8c06bd67ffd06f9018aa9ddd253b (patch) | |
tree | fa9ed5330a6006fd0ab0cd8f71b8394330a42b3c /indra/newview | |
parent | e138ca5e78cb9fe095a6d67a28a39a1608d38653 (diff) |
MAINT-7095 Fixed Detached and reduced nearby chat floater does not maintain its position through viewer restart.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloaterimnearbychat.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimnearbychat.cpp b/indra/newview/llfloaterimnearbychat.cpp index 257b39a7dd..7d0ff22ed3 100644 --- a/indra/newview/llfloaterimnearbychat.cpp +++ b/indra/newview/llfloaterimnearbychat.cpp @@ -304,6 +304,13 @@ void LLFloaterIMNearbyChat::onClose(bool app_quitting) { // Override LLFloaterIMSessionTab::onClose() so that Nearby Chat is not removed from the conversation floater LLFloaterIMSessionTab::restoreFloater(); + if (app_quitting) + { + // We are starting and closing floater in "expanded" state + // Update expanded (restored) rect and position for use in next session + forceReshape(); + storeRectControl(); + } } // virtual |