fix(StatusChatListCategory): ensures showActionButtons is taken into account
when showing the menu button and right click
This commit is contained in:
parent
9cfcdace21
commit
52cb97e409
|
@ -32,10 +32,10 @@ Column {
|
|||
title: statusChatListCategory.name
|
||||
opened: statusChatListCategory.opened
|
||||
|
||||
showMenuButton: !!statusChatListCategory.popupMenu
|
||||
showMenuButton: showActionButtons && !!statusChatListCategory.popupMenu
|
||||
|
||||
onClicked: {
|
||||
if (mouse.button === Qt.RightButton && !!statusChatListCategory.popupMenu) {
|
||||
if (mouse.button === Qt.RightButton && showActionButtons && !!statusChatListCategory.popupMenu) {
|
||||
highlighted = true
|
||||
popupMenuSlot.item.popup(mouse.x + 4, mouse.y + 6)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue