mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
only allow leaving if group chat
This commit is contained in:
parent
521240cfd6
commit
4e37fb70f1
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ ListView {
|
|||
IconLabelButton {
|
||||
//: "leave"
|
||||
text: qsTr("chat_room_leave")
|
||||
visible: mainItem.currentChatGui && !mainItem.currentChatGui.core.isReadOnly
|
||||
visible: mainItem.currentChatGui && !mainItem.currentChatGui.core.isReadOnly && mainItem.currentChatGui.core.isGroupChat
|
||||
icon.source: AppIcons.trashCan
|
||||
spacing: Math.round(10 * DefaultStyle.dp)
|
||||
Layout.fillWidth: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue