summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llnearbychat.cpp10
-rw-r--r--indra/newview/skins/default/xui/en/floater_im_session.xml2
2 files changed, 1 insertions, 11 deletions
diff --git a/indra/newview/llnearbychat.cpp b/indra/newview/llnearbychat.cpp
index a21690bed8..4e53082c05 100644
--- a/indra/newview/llnearbychat.cpp
+++ b/indra/newview/llnearbychat.cpp
@@ -391,17 +391,7 @@ void LLNearbyChat::onOpen(const LLSD& key)
bool LLNearbyChat::applyRectControl()
{
- bool is_torn_off = getHost() == NULL;
-
- // Resize is limited to torn off floaters.
- // A hosted floater is not resizable.
- if (is_torn_off)
- {
- enableResizeCtrls(true);
- }
-
setResizeLimits(getMinWidth(), EXPANDED_MIN_HEIGHT);
-
return LLFloater::applyRectControl();
}
diff --git a/indra/newview/skins/default/xui/en/floater_im_session.xml b/indra/newview/skins/default/xui/en/floater_im_session.xml
index 560e1be213..95f6708e96 100644
--- a/indra/newview/skins/default/xui/en/floater_im_session.xml
+++ b/indra/newview/skins/default/xui/en/floater_im_session.xml
@@ -9,7 +9,7 @@
can_dock="false"
can_minimize="true"
can_close="true"
- save_rect="false"
+ save_rect="true"
visible="false"
width="394"
can_resize="true"