Skip to content
Snippets Groups Projects
Commit cd7d499e authored by AlexanderP ProductEngine's avatar AlexanderP ProductEngine
Browse files

CHUI-168 FIXED, CHUI-183 FIXED Supress of a resizable and dragging and hide a...

CHUI-168 FIXED, CHUI-183 FIXED Supress of a resizable and dragging and hide a title for the docked floater
parent 5eab9595
No related branches found
No related tags found
No related merge requests found
......@@ -250,14 +250,16 @@ void LLIMConversation::updateHeaderAndToolbar()
bool is_expanded = is_hosted || is_participant_list_visible;
mExpandCollapseBtn->setImageOverlay(getString(is_expanded ? "collapse_icon" : "expand_icon"));
// The button (>>) should be disabled for torn off P2P conversations.
mExpandCollapseBtn->setEnabled(is_hosted || !mIsP2PChat);
// toggle floater's drag handle and title visibility
if (mDragHandle)
{
// toggle floater's drag handle and title visibility
mDragHandle->setVisible(!is_hosted);
mDragHandle->setTitleVisible(!is_hosted);
setCanDrag(!is_hosted);
}
setCanResize(!is_hosted);
// The button (>>) should be disabled for torn off P2P conversations.
mExpandCollapseBtn->setEnabled(is_hosted || !mIsP2PChat);
mTearOffBtn->setImageOverlay(getString(is_hosted ? "tear_off_icon" : "return_icon"));
......@@ -347,6 +349,8 @@ void LLIMConversation::onOpen(const LLSD& key)
host_floater->collapseMessagesPane(false);
}
setCanResize(TRUE);
updateHeaderAndToolbar();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment