Skip to content
Snippets Groups Projects
Commit 860ddf22 authored by Sébastien Blin's avatar Sébastien Blin Committed by Xavier Jouslin de Noray
Browse files

chatview: hide extra panels if interactions buttons are absent

Change-Id: I8e56fc3e0a456bc214baf321e4c9e60b77004d2c
GitLab: #1476
parent ef716d65
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,11 @@ Rectangle { ...@@ -133,6 +133,11 @@ Rectangle {
Connections { Connections {
target: CurrentConversation target: CurrentConversation
function onIdChanged() {
if (!chatViewHeader.interactionButtonsVisibility)
extrasPanel.closePanel()
}
function onNeedsHost() { function onNeedsHost() {
viewCoordinator.presentDialog(appWindow, "mainview/components/HostPopup.qml"); viewCoordinator.presentDialog(appWindow, "mainview/components/HostPopup.qml");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment