summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnearbychat.cpp')
-rw-r--r--indra/newview/llnearbychat.cpp10
1 files changed, 0 insertions, 10 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();
}