CHUI-608 (Conversations floater can be resized too small once a conversation is torn off)
parent
f40ee4792d
commit
3d83fc3da5
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -751,6 +751,11 @@ void LLFloaterIMSessionTab::onTearOffClicked()
|
|||
{
|
||||
forceReshape();
|
||||
}
|
||||
LLFloaterIMContainer* container = LLFloaterIMContainer::getInstance();
|
||||
if (container)
|
||||
{
|
||||
container->assignResizeLimits();
|
||||
}
|
||||
refreshConversation();
|
||||
updateGearBtn();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue