summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaximbproductengine <maximbproductengine@lindenlab.com>2013-01-03 06:43:25 +0200
committermaximbproductengine <maximbproductengine@lindenlab.com>2013-01-03 06:43:25 +0200
commit3d83fc3da5b0fa20bb631bfd2c94368946905675 (patch)
tree8eef1b5385af1a7127695b742d03626c321a75c9 /indra/newview
parentf40ee4792d948ca99d19bdd6f645faea07e15f47 (diff)
CHUI-608 (Conversations floater can be resized too small once a conversation is torn off)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterimcontainer.h3
-rw-r--r--indra/newview/llfloaterimsessiontab.cpp5
2 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimcontainer.h b/indra/newview/llfloaterimcontainer.h
index 09a24c0105..8daed46c7d 100644
--- a/indra/newview/llfloaterimcontainer.h
+++ b/indra/newview/llfloaterimcontainer.h
@@ -106,6 +106,8 @@ public:
bool enableContextMenuItem(const std::string& item, uuid_vec_t& selectedIDS);
void doToParticipants(const std::string& item, uuid_vec_t& selectedIDS);
+ void assignResizeLimits();
+
private:
typedef std::map<LLUUID,LLFloater*> avatarID_panel_map_t;
avatarID_panel_map_t mSessions;
@@ -154,7 +156,6 @@ private:
void toggleAllowTextChat(const LLUUID& participant_uuid);
void toggleMute(const LLUUID& participant_id, U32 flags);
void openNearbyChat();
- void assignResizeLimits();
LLButton* mExpandCollapseBtn;
LLButton* mStubCollapseBtn;
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp
index f5b657fa60..4e79bd0ac8 100644
--- a/indra/newview/llfloaterimsessiontab.cpp
+++ b/indra/newview/llfloaterimsessiontab.cpp
@@ -751,6 +751,11 @@ void LLFloaterIMSessionTab::onTearOffClicked()
{
forceReshape();
}
+ LLFloaterIMContainer* container = LLFloaterIMContainer::getInstance();
+ if (container)
+ {
+ container->assignResizeLimits();
+ }
refreshConversation();
updateGearBtn();
}